Multiple if statements to have a percentage

polska2180

Active Member
Joined
Oct 1, 2004
Messages
384
Office Version
  1. 365
Hi, I'm not even sure how to title this and as such unable to find a solution which i'm sure is out there. Basically I'm looking to do a formula that says

Basically i have 5 cells at as each gets filled out cell a1 would increase by 20 % so if A1 is "" then "" else 20% unless b1 is filled then 40% unless c1 is filled the 60% all the way to 100%.

Thanks.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi,

If the data cells do not contain a formula producing a Blank ( "" ) result, you can do it this way, works for Both Text and Numeric data:


Book1
ABCDEF
1thisthat40%
Sheet677
Cell Formulas
RangeFormula
F1=IFERROR(1/(1/COUNTA(A1:E1))*0.2,"")


Format result cell as Percentage.

If you Do have formulas in the data cells, we'll tweak the formula to accommodate.
 
Upvote 0
This is perfect because its not dependent on the previous cell so if somebody skips one it will still report % completed. TY.

NOTE: in my actual worksheet the cells were not next to each other so I just put comma ie A1,C1,E1 etc.
 
Upvote 0
You're welcome, glad it works for you.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

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