Show blank if blank, show 0% if 0% to Average

SMAsh67

New Member
Joined
Jan 8, 2018
Messages
18
I'm making a score sheet that I have to host on SharePoint so I can't use anything that isn't a straight-up formula. The problem I can't figure out is how to do the averages on the last page. I need it to be a running total, and not count the blanks as 0% when averaging.

It's a sort of scorecard for each week in Feb (a tab for each week) and the last tab does an average as the participants are scored.

I have this, which works but shows 0% if the cell is blank so it doesn't work for what I want:

=VLOOKUP($B:$B,'February 2020 Week 1'!$C:$S,5,FALSE)

I tried this:

=IF(VLOOKUP($B:$B,'February 2020 Week 1'!$C:$S,5,FALSE)="","",VLOOKUP($B:$B,'February 2020 Week 1'!$C:$S,5,FALSE))

But it just makes everything blank.

Any help would be greatly appreciated!
 

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
This should do the trick:

=VLOOKUP($B:$B,'February 2020 Week 1'!$C:$S,5,FALSE)&""
 
Upvote 0
Thank you, but that also makes it show the cell as blank even if it isn't.

I think I'm just going to set up some conditional formatting as a workaround :(
 
Upvote 0
Hmm weird, could you please paste an example of your dataset?

Here's my view for "a":
1580311724587.png


And the same formula for when cell G1 contains no value:
1580311752770.png
 
Upvote 0
Thanks for sharing the file!
Here's what I have on "February 2020 Week 1" sheet:

1580414128974.png


When updating the formula in "QA Final", cell C12, to =VLOOKUP($B:$B,'February 2020 Week 1'!$C:$S,2,FALSE)&"" it shows:
1580414167466.png


Fair enough, &"" syntax at the end of the formula is turning numeric values into text. To mitigate that, you can apply the following formula:
Rich (BB code):
=IF(LEN(VLOOKUP($B:$B,'February 2020 Week 1'!$C:$S,2,FALSE)&""),VLOOKUP($B:$B,'February 2020 Week 1'!$C:$S,2,FALSE),"")
 
Upvote 0

Forum statistics

Threads
1,214,780
Messages
6,121,527
Members
449,037
Latest member
tmmotairi

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