Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SumProduct Question

Status
Not open for further replies.

G12Consult

Programmer
May 12, 2016
77
AU
I have the following sum product formula which works perfectly however I want it to return Yes if true, blank for false.

At the moment its returning 1 for true and 0 for false

Code:
=INDEX(SUMPRODUCT(--(HolidayLookup[HOLIDAY_DATE]=E85),--(HolidayLookup[HLDY_GROUP_CODE]=J85),--(HolidayLookup[HOLIDAY_YEAR]=K85)),0)
 
[TT]
=if(SUMPRODUCT(
--(HolidayLookup[HOLIDAY_DATE]=E85),
--(HolidayLookup[HLDY_GROUP_CODE]=J85),
--(HolidayLookup[HOLIDAY_YEAR]=K85))=1,"YES","")
[/TT]

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top