IF statements and concatenation of conditions

Bedlam

New Member
Joined
Feb 18, 2020
Messages
49
Office Version
  1. 365
Platform
  1. Windows
I'm trying to create a RAG status for dozens of metrics. Ideally I would like an IF statement that takes account of signage in B and D in combination with values in C and E to assess the value in G to output in H. However it seems you cannot concatenate the signage and values as it thinks the full condition is a string rather than a logical test. Is there a workaround?
=if(g2&b2&c2 ... ) does not work
1712132751976.png
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Will this work for you ?

20240403 Countifs Concatenation Bedlam.xlsx
ABCDEFGH
1MetricGreen ThresholdGreen ThresholdRed ThresholdRed ThresholdActualRAG
21<=5%>=11%10%Amber
32>=90%<=75%90%Green
43>=90%<=79%78%Red
Sheet1
Cell Formulas
RangeFormula
H2:H4H2=IF(COUNTIFS(G2,B2&C2),"Green",IF(COUNTIFS(G2,D2&E2),"Red","Amber"))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,204
Messages
6,123,630
Members
449,109
Latest member
Sebas8956

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