Conditional formating/data tables

taylor425

New Member
Joined
Feb 27, 2017
Messages
3
I am unsure how to make this formula work for me. The example ia:

I have a list of values in A1 that range from 1-25 that can be selected.

In B1 i need a formula that will make B1 a certain value based off what number is in A1

Example:

A1. B1
1. 1
2. 2
3. 5
4. 12

In a1 the user can select a number between 1-25. Once selected B1 automatically changes to the corresponding number.

Ive tried play with =if functions and others with no luck. Any help wpuld be appreciated.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Use this one in B1 and drag it down;

=IF(OR(ISBLANK(A1),A1<=0),"",IF(AND(A1>=1,A1<=25),50,100))

and like wise.....
 
Upvote 0
In a1 there is a drop down menu with value ranging from 1-25. When I select 1 in the a1 cell. I want b1 to say 1.

But when I select 3 in a1, b1 needs to say 5. Each value 1-25 will have a different value associated with it in b1.
No math I believe is needed

I literally just need 1 =1, 2=2,3=5,4=10
Where the first digit is in a1 and second is b1. I'll list all the values and maybe that will help.

A1. B1
1. 1
2. 2
3. 5
4. 12
5. 20
6. 30
7. 45
8. 60
9. 85
10. 100
11. 120
12. 150
13. 180
14. 250
15. 340
16. 500
17. 700
18. 900
19. 1200
20. 1500
21. 1800
22. 2100
23. 2400
24. 3000
25. 4500
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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