Forum Discussion
Excelstudent
Oct 22, 2022Copper Contributor
Multiply cells but ignore zeros and blanks cells
How do I multiple numbers in different cells BUT ignore blanks and zeros. (Please not this a long excel sheet). I want to multiple all the numbers from cell A1:H1 and put the answer in cell J in tota...
- Oct 22, 2022
Excelstudent If you are on a recent Excel version or on-line, this will work.
Or perhaps better to use:
=PRODUCT(FILTER(A2:H2,A2:H2<>0))
Then you capture everything except zeros and blanks.
Riny_van_Eekelen
Oct 22, 2022Platinum Contributor
Excelstudent If you are on a recent Excel version or on-line, this will work.
Or perhaps better to use:
=PRODUCT(FILTER(A2:H2,A2:H2<>0))
Then you capture everything except zeros and blanks.
Excelstudent
Oct 22, 2022Copper Contributor
Thank you very much for your help. This worked wonderfully.