Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to SUMIF in another worksheet values having a specific date as criteria.

Like :

=SUMIF('Data Form'!G:G,"'Data Form'!1/1/2010",'Data Form'!N:N)

I want a specific value in a cell (i.e 1/1/2010) as the criteria in stead of the cell (i.e G8) being the criteria.

I don't want this:

=SUMIF('Data Form'!G:G,'Data Form'!G6,'Data Form'!N:N)

thanks, Oury

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try using the date function and there's no need to reference the sheet there!

=SUMIF('Data Form'!G:G,DATE(2010,1,1),'Data Form'!N:N)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.