Excel Formula

Foxtrot

Board Regular
Joined
Jun 29, 2005
Messages
83
Hi, i have a spreadsheet with 4 columns with headings and many lines. Each line per column contains either a Y or a N, ie Col1-N, Col2-Y, Col3-Y, Col4-N. I'm trying to determine (total) across all 4 columns how many lines contains ALL-Y and/or Col1&2-Y or Col2,3-Y or All Columns = N, etc. The 4 columns are products we sell to our clients and i basically want to work out how many clients use 1 or 2 or 3 or 4 of our products or only 1 of our products or 2 of our products, etc. I basically wants to see it across 4 columns? I dont know how to attach a copy of the data to make it easier? Any help will be appreciated. Thanks
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Try: =COUNTIFS(A2:D2,"Y")

Assuming your data is in columns A to D and starts in row 2 .... then copy down
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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