Multi Conditions 3 Outcomes

westwiz777

New Member
Joined
Jun 15, 2020
Messages
2
Office Version
  1. 365
Hi....I'm new to this forum and would appreciate help in writing a formula ....I've Googled plenty seeking answers and am obviously still doing something wrong...I think it's an =IF (AND...???

1. If cell entry is less than 3.5 in say column B:B then divide figure in cell A1 by 100......I have no issues with that
2. If cell entry is between 3.5 and 7.4 in column B:B then divide figure in cell A1 by 0.6
3. If cell entry is between 7.4 and 11 in column B:B then divide figure in cell A1 by 0.4

as each entry is populated in column B:B.....then adjacent cell in say column C:C will show formula outcome as per above. ( I keep getting too many arguments and other errors)

Many thanks in advance
Cheers Ken
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Welcome to MrExcel :)

As you're using office 365, I think that IFS might be the easiest way to to this

=IFS(B1<3.5,A1/100,B1<7.4,A1/0.6,B1<11,A1/0.4,TRUE,A1)

but what if B1>11? I've included A1 with no division for that, bit it can be changed as needed.
 
Upvote 0
I am not sure the final result you want to get, but see if this helps, in column C:C you will get 100, 0.6 or 0.4 depending on the value in column B:B.
MrExcel.xlsx
ABCDEFGH
13.31000100
23.50.63.50.6
33.60.67.40.4
460.6
57.30.6
67.40.4
77.50.4
8
Sheet1
Cell Formulas
RangeFormula
C1:C7C1=LOOKUP(B1,{0,100;3.5,0.6;7.4,0.4})
 
Upvote 0
Jason...Cheers that's done it...some errors with output....changed to A1/100*0.6 gets the correct figure I was after. Wasn't familiar with IFS but that's worked out well.

Thanks to shaowu459 for replying as well
 
Upvote 0

Forum statistics

Threads
1,213,559
Messages
6,114,302
Members
448,564
Latest member
ED38

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