compare to cells in a row and then move to the next row

atomicluis

New Member
Joined
Nov 9, 2005
Messages
7
Hi,

I need a way to compare to cells in a row and then move to the next row.

For example, in the table below I have two rows where ColumnA contains the string "approved" and ColumnB is empty. The count for this should be "2".

There are 3 rows where ColumnA contains the string "in progress" and ColumnB contains the string "completed". The count for this should be "3".

ColumnA ______ColumnB
1 approved
2 in progress__completed
3 approved
4 in progress__completed
5 in progress__completed

My sheet has 50 rows.

Thank you very much!!!!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
59,294
Office Version
  1. 365
Platform
  1. Windows
atomicluis

Not quite sure if this is what you are after, but let's see.

Excel Workbook
ABCDEF
1Column AColumn BColumn AColumn BCount
2approvedapproved2
3in progresscompletedin progressCompleted3
4approved
5in progresscompleted
6in progresscompleted
7
Counting



You might also want to have a look at PivotTables.
 
Upvote 0

Forum statistics

Threads
1,190,645
Messages
5,982,109
Members
439,755
Latest member
nicos18

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top