IF-THEN - expanding on the basic formula

Malthus101

New Member
Joined
Jan 23, 2017
Messages
46
Office Version
  1. 2016
Platform
  1. Windows
Hi folks, long time no speak!


I have one cell which contains the account balance - let's say it's: $1111.

Another cell has a figure I need to reference. If that reference cell is EQUAL TO OR LESS than the account balance cell, I need to print: 1

If it's more, less than double or double it, I need to print 2.
If it's more, less than triple or double it, I need to print 3.

So the tricky part is, printing the correct value, and not too high of a number.

Examples:

Account is: $1111
Ref cell is: $250 - print 1
Ref cell is: $1111 -print 1
Ref cell is $1111.01 - $2222 - print 2
Ref cell is: $2222.01 - $3333 - print 3

What's the formula?

Thanks!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

See if this does what you want.

21 11 12.xlsm
ABC
1BalRefResult
211112501
311111
41111.012
52222.013
Ref
Cell Formulas
RangeFormula
C2:C5C2=INT((B2-0.000001)/$A$2)+1
 
Upvote 0
Solution
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

See if this does what you want.

21 11 12.xlsm
ABC
1BalRefResult
211112501
311111
41111.012
52222.013
Ref
Cell Formulas
RangeFormula
C2:C5C2=INT((B2-0.000001)/$A$2)+1

That's the one -thanks very much.
 
Upvote 0

Forum statistics

Threads
1,214,592
Messages
6,120,433
Members
448,961
Latest member
nzskater

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