COUNTIF? Would like to count text over a range of cells and if greater than or equal to 2 lots of text "" or if less than 2 lots of text ""

LeighMacKay7

New Member
Joined
Oct 11, 2022
Messages
34
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
  2. Web
Hi everyone,

I have had a really good experience so far in my short time using this site and am eternally grateful for all your help and support. (what a great site to be part of!!!)

I have run a large dataset, and I am interested in 7 columns specifically from this. All 7 columns contain text or blanks. But free text which has come from a form.
I think I need to create a COUNTIF statement that basically says, if 2 or more, of the columns contain text then return the text "Participating". 'and' If less than 2 of the 7 columns contains text then return "Supporting".

I am assuming it will be some sort of COUNTIF statement. But not sure where to even start in this instance.

I have created an example dataset below for the purposes of the response.
Lets just say the data is in cells B2, C2, D2, E2, F2, G2, and H2. Then the answer "Participating" or "Supporting" goes in cell I2.
1665578184782.png


Thank you in advance for your help
Leigh
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
=IF(COUNTA(B2:H2)>1,"participating","supporting")
Thank you for your response Shesil. This has been very useful.
Do you know how you would change the range to multiple specific cells. Is it worth using B2&E2&L2&Z2? Or do you recommend another method?
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,250
Members
452,623
Latest member
Techenthusiast

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