Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need a macro (VBA) code to increment count for the attached table (columns A through D) when the strings in column C or D

I need a macro (VBA) code to increment count for the attached table (columns A through D) when the strings in column C or D are blank for the corresponding type.

for example, in the attached picture Column E explains how it should work.

NOTE: car_1 is written as car1 in the string without the "_"

image text in transcribed

Type ar1 polkaic ycar 1 2010 pploann 3 1yr1 2014 plane 3 bus car 4 bus 2 |year car4 2014 |year bus2 2013 | no blankso increments car 1 car 4 year car4.2014 plane 3 bus 2 Type2Releaseease2Blanks count increment plane 3 count increment plane 3 count year.plane3.2012 year.bus2.2013no blankso increments increment car 1 count increment plane 3 & bus 2 count

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago