ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula not working (https://www.excelbanter.com/excel-discussion-misc-queries/228805-formula-not-working.html)

albertmb

Formula not working
 
Hi Everyone,
I have this formula which is not working, can anyone please ftell me what i
am doing wrong:

=IF(B119TODAY(),"",SUMPRODUCT(--('Punch Clock'!$A$3="Roderick
Spiteri"),--('Punch Clock'!$A$4="Morning"),--('Punch Clock'!$A$1=B119),'Punch
Clock'!$B$1))

Thank you
Albert


edvwvw via OfficeKB.com

Formula not working
 
In what way is it not working?

The syntax is correct

If there is a time in B119 you will need to format the result cell as HH:MM
to get the same result

edvwvw

albertmb wrote:
Hi Everyone,
I have this formula which is not working, can anyone please ftell me what i
am doing wrong:

=IF(B119TODAY(),"",SUMPRODUCT(--('Punch Clock'!$A$3="Roderick
Spiteri"),--('Punch Clock'!$A$4="Morning"),--('Punch Clock'!$A$1=B119),'Punch
Clock'!$B$1))

Thank you
Albert


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200904/1


albertmb

Formula not working
 
Thanks for your responce and I apologise for my delay. In Cell B119 I have a
date, but my problem is that the result I am getting is 00:00:00, when it
should be the time which is in 'Punch Clock'!$B$1, so I am getting a result
but the wrong one.

Thank you once again
Albert


"edvwvw via OfficeKB.com" wrote:

In what way is it not working?

The syntax is correct

If there is a time in B119 you will need to format the result cell as HH:MM
to get the same result

edvwvw

albertmb wrote:
Hi Everyone,
I have this formula which is not working, can anyone please ftell me what i
am doing wrong:

=IF(B119TODAY(),"",SUMPRODUCT(--('Punch Clock'!$A$3="Roderick
Spiteri"),--('Punch Clock'!$A$4="Morning"),--('Punch Clock'!$A$1=B119),'Punch
Clock'!$B$1))

Thank you
Albert


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200904/1




All times are GMT +1. The time now is 12:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com