If/ifs formula help

Sophiepope

New Member
Joined
Apr 5, 2024
Messages
6
Office Version
  1. 2019
Platform
  1. Windows
I have the below data.
I have the current formula in which works for all the data apart from row 3 - returns working above but in fact is working below.

=ifs(a1=b1,”working at”,a1>b1,”working above”,a1<b1,”working below”)

Does anyone know how I can amend the formula. I cannot ask it to ignore all instances of the + symbol as that would create incorrect data in other cells e.g row 5.

A B C
4+ 4+ working at
4+ 3 Working above
4+ 6 Working above
4 4+ working below
4+ 4 Working above
 
Would something like this work for you ?

20240406 Alpa Numeric Result comparison Sophiepope.xlsx
ABC
1L2PL2PWorking At
2L1PL2PWorking Above
3L3PL2PWorking Below
4L2DL2PWorking Below
5L2ML2PWorking Below
6L2PL2DWorking Above
7 
8L2DL2MWorking Below
Test
Cell Formulas
RangeFormula
C1:C8C1=IFERROR( CHOOSE( SIGN( (MID(B1,2,1)+SWITCH(RIGHT(B1,1),"P",0.1,"M",".2","D",0.3)) -(MID(A1,2,1)+SWITCH(RIGHT(A1,1),"P",0.1,"M",".2","D",0.3))) +2, "Working Below","Working At", "Working Above"),"")
 
Upvote 0
Solution

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,316
Members
452,634
Latest member
cpostell

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