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

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

(a) There are five factors (A, B, C, D, and E). Pg45

Answered: 1 week ago

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago