How to use OR with formulas

Tyrel Smith

New Member
Joined
Nov 20, 2020
Messages
26
Office Version
  1. 2016
Platform
  1. Windows
Can someone help me please.

As you can see in cells B17 and C17 I have a size with a ± value of 0.30 and column D is for the lowest size(110.50 - 0.30) and Column E is for the highest size(110.50 + 0.30). The formula that I am using works perfectly but that is only if there is ± but sometimes I have only - or only +. So I tried to use an or function but I get an error and even if it did not give an error, it would only return true but in need it to be a value.

So if its a + then the lowest size should stay what it is(110.50) but increase the size by the given amount and insert it into the highest size column.
And if its a - then decrease the size by the given amount and insert it into the lowest size column and the highest size column must be == the size column.




1613113138414.png
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Maybe you can use three IFERROR: IFERROR(search +,IFERROR(search -,IFERROR(search ±)))
 
Upvote 0
Map1
ABC
1sizelowhigh
2110,50 - 0,30110,2no
3110,70 + 0,20no110,9
4110,70 ± 0,21110,49110,91
Blad1
Cell Formulas
RangeFormula
B2:B4B2=IFERROR(LEFT(A2,FIND("-",A2)-1)-MID(A2,FIND("-",A2)+1,256),IFERROR(LEFT(A2,FIND("±",A2)-1)-MID(A2,FIND("±",A2)+1,256),"no"))
C2:C4C2=IFERROR(LEFT(A2,FIND("+",A2)-1)+MID(A2,FIND("+",A2)+1,256),IFERROR(LEFT(A2,FIND("±",A2)-1)+MID(A2,FIND("±",A2)+1,256),"no"))
 
Upvote 0
Solution
Map1
ABC
1sizelowhigh
2110,50 - 0,30110,2no
3110,70 + 0,20no110,9
4110,70 ± 0,21110,49110,91
Blad1
Cell Formulas
RangeFormula
B2:B4B2=IFERROR(LEFT(A2,FIND("-",A2)-1)-MID(A2,FIND("-",A2)+1,256),IFERROR(LEFT(A2,FIND("±",A2)-1)-MID(A2,FIND("±",A2)+1,256),"no"))
C2:C4C2=IFERROR(LEFT(A2,FIND("+",A2)-1)+MID(A2,FIND("+",A2)+1,256),IFERROR(LEFT(A2,FIND("±",A2)-1)+MID(A2,FIND("±",A2)+1,256),"no"))
thank you very much :)
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,447
Members
452,327
Latest member
kris9926

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