RANGE OF CELLS CONTAINS 4 TEXTS OUTPUT 3 TEXTS

Xav3rious

New Member
Joined
Dec 22, 2020
Messages
4
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi, my head is spinning trying to get this to work. I have 1 column with 10 cells. (ie. A1:A10) Each cell MAY contain one of 5 texts and or a empty. ("YES" , "N/A", "NO", "NO REQUEST", "PENDING",). A11 will contain outcome. Basically I'm looking for a formula for something like this..

#VALUE!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I think you need to repost your question... all I see is your #VALUE! for the desired formula's outcome.
 
Upvote 0
I think you need to repost your question... all I see is your #VALUE! for the desired formula's outcome.
Second try :)
(RANGE=A1:A10)

IF any cell in range contains "NO REQUEST" THEN Cell A11 output is "NO REQUEST"

IF any cells in range contain any of "NO"/"PENDING"/or are empty THEN output in A11 is "PENDING"

ELSE output of A11 is "READY"
 
Upvote 0
How about
Excel Formula:
=IF(COUNTIF(A1:A10,"No request")>0, "No Request",IF(SUM(COUNTIF(A1:A10,{"No","Pending",""})),"Pending","Ready"))
 
Upvote 0
Solution
Fluff's formula is a little more compact, but since I went through the trouble of creating it, I decided to post it...
Excel Formula:
=IF(ISERROR(MATCH("NO REQUEST",A1:A10,0)),IF(SUMPRODUCT(0+OR(A1:A10={"PENDING","NO",""})),"PENDING","READY"),"NO REQUEST")
 
Last edited:
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,575
Members
449,039
Latest member
Arbind kumar

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