IF and And Help?

mkuter

New Member
Joined
Dec 5, 2013
Messages
33
Hey again everyone and anyone.

I am trying to come up with a little automation for my sheet and this is essentially what I am trying to do.

I have a drop down to select a certain status (More Info Needed, Scheduled, Testing, Completed). Essentially what I want to do is I want to be able to select a status and have it automatically put a value in for an overall status percentage. So More Info Needed would be 25%, Scheduled would be 50%, Testing would be 75% and Completed would be 100%.

I managed to do this and get it for the 100% =IF([@[Dev Status]]="Completed",1,0) . I also tried adding some and statements in there and that is where the wheels came off.

Any help would be appreciated.
 
Can I just add

It wont pick up the second "Completed"
Should probably be

=LOOKUP(F2,{"Completed","More Info Needed","Scheduled","Select","Testing"},{1,0.25,0.5,0.75,0})
 
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Amazing!!! Thank you so much. I swear I learn so much from this forum! You all are some terrific human beings.
 
Upvote 0
Can I just add

It wont pick up the second "Completed"
Should probably be

=LOOKUP(F2,{"Completed","More Info Needed","Scheduled","Select","Testing"},{1,0.25,0.5,0.75,0})

I think your zero is in wrong place, I edited mine.

=LOOKUP(F2,{"Completed","More Info Needed","Scheduled","Select","Testing"},{1,0.25,0.5,0,0.75})
 
Upvote 0
You're welcome, the team work got us there.

(Although my original formula should have worked :p)
 
Upvote 0

Forum statistics

Threads
1,215,603
Messages
6,125,786
Members
449,259
Latest member
rehanahmadawan

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