Ranges and IF's

Pondcroft13

New Member
Joined
May 27, 2010
Messages
32
Hi All,

I need a formula that lets me do the following:

I have a cell (A) that will have a number between 1 and 25. If the number is 1 or more but less than 9 then I want cell 'B' to =G(As in the letter not the column), if the cell is 9 or more but less than 20 I want cell 'B' to =A (As in the letter not the column), if the cell is 20 or more I want the cell to = R (As in the letter not the column).

Any ideas?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Like this?
Code:
=IF(A1>=20,"R",IF(A1>=9,"A",IF(A1>=1,"G","")))
 
Upvote 0
Hi All,

I need a formula that lets me do the following:

I have a cell (A) that will have a number between 1 and 25. If the number is 1 or more but less than 9 then I want cell 'B' to =G(As in the letter not the column), if the cell is 9 or more but less than 20 I want cell 'B' to =A (As in the letter not the column), if the cell is 20 or more I want the cell to = R (As in the letter not the column).

Any ideas?
Try this
Code:
=IF(A1>0,IF(A1<9,"G",IF(A1<20,"A","R")))
Opps in the time i posting so much already replied..
 
Upvote 0

Forum statistics

Threads
1,215,449
Messages
6,124,911
Members
449,195
Latest member
Stevenciu

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