nested IF statement with text using data validation as source

armyprof

New Member
Joined
Dec 16, 2021
Messages
2
Office Version
  1. 2011
Platform
  1. Windows
So I have a user who wants to use data validation in a project tracking form. And in addition, they want to do a chart that shows percent progress. So, what I want to do is use a nested IF statement that will use the values in the data validation dropdown list to populate a cell with a numeric value.

The dropdown has the following values:

Not Started
25%
50%
75%
Completed

And the IF statement should return the following values as numbers:
Not Started = 0
25% = .25
50% = .5
75% = .75
Completed = 1

Any help would be greatly appreciated!
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
I don't think you'll need a nested IF in this case. For example, if your data validation cell is H4, you can use a simple formula such as =H4 to get the values you're looking for.
Book1.xlsm
HI
425%0.250
Sheet1
Cell Formulas
RangeFormula
I4I4=+H4
Cells with Data Validation
CellAllowCriteria
H4List25%,50%,75%,100%
 
Upvote 0
Thanks! I agree if it were all numbers that would work. My issue is the text responses; Not started or Completed need to be changed to numbers to work. That's why I was thinking an IF statement would do it.
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,224
Members
452,620
Latest member
dsubash

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