Am using the following formula in a range of cells column D2
Do not want the value of 0 to appear in the cells when dragging down.
Any suggestion
BE 0Please Login or Register to view this content.
FR 0
FR 186
IT 90
FR 0
FR 0
Am using the following formula in a range of cells column D2
Do not want the value of 0 to appear in the cells when dragging down.
Any suggestion
BE 0Please Login or Register to view this content.
FR 0
FR 186
IT 90
FR 0
FR 0
Add an IF clause:
=IF(SUMPRODUCT(CustomerA!Y$2:Y$915,--(CustomerA!$J$2:$J$915='Report '!$A2),--(CustomerA!$K$2:$K$915='Report '!$B2),--(CustomerA!$L$2:$L$915='Report '!$C2))=0,"",SUMPRODUCT(CustomerA!Y$2:Y$915,--(CustomerA!$J$2:$J$915='Report '!$A2),--(CustomerA!$K$2:$K$915='Report '!$B2),--(CustomerA!$L$2:$L$915='Report '!$C2)))
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Rather than doubling up the formula, you can use a Custom Format to suppress the zeros so that they appear blank. If you are only expecting positive numbers, then you can use this Custom Format:
General;;;
If your numbers can be positive or negative, but you don't want to show zero, then the custom format would be:
General;-General;;
Of course, General could be replaced with a number format if you want a specific numeric display (like dates).
Another way to avoid the doubling-up of the formula is to do this:
=IFERROR(1/(1/SUMPRODUCT(CustomerA!Y$2:Y$915,--(CustomerA!$J$2:$J$915='Report '!$A2),--(CustomerA!$K$2:$K$915='Report '!$B2),--(CustomerA!$L$2:$L$915='Report '!$C2))),"")
Hope this helps.
Pete
Another way is to leave your formula as it is, and to apply conditional formatting, such that if the cell value is zero then the foreground colour is set to white (or to whatever the background colour is for that cell), so white on white would effectively show the cell as blank.
Hope this helps.
Pete
?? An alternative:
=IFERROR(1/(1/SUMPRODUCT(CustomerA!Y$2:Y$915,--(CustomerA!$J$2:$J$915='Report '!$A2),--(CustomerA!$K$2:$K$915='Report '!$B2),--(CustomerA!$L$2:$L$915='Report '!$C2))),"")
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Thank you all for assistance work great
You're welcome - thanks for the rep.
Pete
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks