If a row contains data in multiple columns, assign a score of 1

Walesb

New Member
Joined
Oct 2, 2012
Messages
4
Hello all

I am using Excel 2003 and I have a problem that I believe will be solved with an IF function, I'm just not entirely sure how to apply it!

I have enclosed an example table

Basically, I need to count any row that has a x in any column between B and H. For example row 2 contains 3 x's (in cells B2, E2 and G2) needs to be classified as 1 row which contains an x. I can't use a nested IF function as in reality the table I'm using spans 26 columns...


Hopefully I have explained this properly! Any help is massively appreciated
A
B
C
D
E
F
G
H
1
2
ABC
x
x
x
3
ABC
x
4
XYZ
x
x
x
x
5
XYZ
x
6
ABC

<TBODY>
</TBODY>
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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
Back
Top