Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bharat Saboo
 
Posts: n/a
Default how to use sumif function to check date in 1 sheet is < 2 sheet

I am trying to add a total in 2 sheet if date in 1 sheet is <= particular
criteria.

the following is my function call

=SUMIF(List!$B$2:$B$65536,"<= A2",List!$C$2:$C$65536)

Please explain why it does not work and how to make it work.

The answer at present comes to zero only.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
B. R.Ramachandran
 
Posts: n/a
Default how to use sumif function to check date in 1 sheet is < 2 sheet

Hi,

The formula should be

=SUMIF(List!$B$2:$B$65536,"<="& A2,List!$C$2:$C$65536)

Regards,
B. R. Ramachandran


"Bharat Saboo" wrote:

I am trying to add a total in 2 sheet if date in 1 sheet is <= particular
criteria.

the following is my function call

=SUMIF(List!$B$2:$B$65536,"<= A2",List!$C$2:$C$65536)

Please explain why it does not work and how to make it work.

The answer at present comes to zero only.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default how to use sumif function to check date in 1 sheet is < 2 sheet


Try using this array formula

=SUM(IF(List!B1:B23<=A1,List!C1:C23,0))

Instead of hitting Enter after typing in the formula, press
Ctrl-Shift-Enter simultaneously. That will result in the formula
having curly brackets around it like.

{=SUM(IF(List!B1:B23<=A1,List!C1:C23,0))}

The reason your other formula was not working was that the criteria
"<=A1" was not true. You can't use a cell reference in quotes. If you
had entered in the actual data that appeared in A1 sya a date.
"<=12/1/2005", it would have worked. I assume that the data in A1 will
change.


HTH

Cheers,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=496751

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bharat Saboo
 
Posts: n/a
Default how to use sumif function to check date in 1 sheet is < 2 shee

Thanks

It worked.

"B. R.Ramachandran" wrote:

Hi,

The formula should be

=SUMIF(List!$B$2:$B$65536,"<="& A2,List!$C$2:$C$65536)

Regards,
B. R. Ramachandran


"Bharat Saboo" wrote:

I am trying to add a total in 2 sheet if date in 1 sheet is <= particular
criteria.

the following is my function call

=SUMIF(List!$B$2:$B$65536,"<= A2",List!$C$2:$C$65536)

Please explain why it does not work and how to make it work.

The answer at present comes to zero only.

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
IF function for scheduling tool with outlook integration systematic Excel Worksheet Functions 3 December 17th 05 01:00 AM
basic sumif function help (urgent) sentil Excel Worksheet Functions 1 December 6th 05 09:20 PM
Help with SUMIF function Dino Excel Discussion (Misc queries) 3 November 23rd 05 02:53 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM


All times are GMT +1. The time now is 09:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"