Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
(I hope I explain this ok without confusing everyone)
I have entered the formula below to do a sort of vlookup and sum calculation from another worksheet. I've used 'iserror' to show blank where no values appear, i.e. for rows where the vlookup criteria does not appear, I want the cells with this formula to show as a blank. However, the value of the cells used as part of the 'sum' might be blank, and because of this, there is no result because of the iserror, but I still want the cells to be added and the result displayed despite there being blank cells within the calculation. Have I overcomplicated what I am trying to achieve or am I just missing something? =IF(ISERROR(SUMPRODUCT(('PBH Update Sheet'!$A$4:$A$499=$A11)*SUM('PBH Update Sheet'!S4+'PBH Update Sheet'!AG4+'PBH Update Sheet'!AU4+'PBH Update Sheet'!BI4+'PBH Update Sheet'!BW4+'PBH Update Sheet'!CK4+'PBH Update Sheet'!CY4+'PBH Update Sheet'!DM4))),"",IF(SUMPRODUCT(('PBH Update Sheet'!$A$4:$A$499=$A11)*SUM('PBH Update Sheet'!S4+'PBH Update Sheet'!AG4+'PBH Update Sheet'!AU4+'PBH Update Sheet'!BI4+'PBH Update Sheet'!BW4+'PBH Update Sheet'!CK4+'PBH Update Sheet'!CY4+'PBH Update Sheet'!DM4))=0,"",SUMPRODUCT(('PBH Update Sheet'!$A$4:$A$499=$A11)*SUM('PBH Update Sheet'!S4+'PBH Update Sheet'!AG4+'PBH Update Sheet'!AU4+'PBH Update Sheet'!BI4+'PBH Update Sheet'!BW4+'PBH Update Sheet'!CK4+'PBH Update Sheet'!CY4+'PBH Update Sheet'!DM4)))) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
show $ in blank cells | Excel Discussion (Misc queries) | |||
Advanced formula - Return result & Show Cell Reference of result | Excel Worksheet Functions | |||
Do not show blank cells as 0 in chart | Charts and Charting in Excel | |||
How do you nest the following formula to show blank cells | Excel Worksheet Functions | |||
formula result not able to be summed | Excel Discussion (Misc queries) |