Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How do I sum numbers thru specifying the amount from another cell?

What does your formula look like?

It should look like this:

=SUMIF(F9:F129,"<="&M2,A9:A129)

--
Biff
Microsoft Excel MVP


"Lost in Query" wrote in message
...
I cannot get SUMIF to work for me at all.

I have a Sum Range F9:F129 = numbers
I have a Criteria Range A9::A129=Dates
and I have a Criteria M2 (TODAY)
I want all numbers in the range F9:F129 to be added thus SUM all up to
TODAY
<=M2 depending on Dates in column A9:A129 but it just comes back with nil
it
doesn't seem to recognise that M2 is a number (TODAY) and thus it will not
calculate anything.

Chris




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I sum numbers thru specifying the amount from another c

I'm trying to use multiple criteria in my SUMIF and COUNTIF functions and I'm
unable to figure out how to nest/combine them using the same rationale as
shown below [ =SUMIF(F9:F129,"<="&M2,A9:A129) ]

I want to do something that would be like: and("<="&M2,"="&M3)
but can't get the syntax right...

Thanks


"T. Valko" wrote:

What does your formula look like?

It should look like this:

=SUMIF(F9:F129,"<="&M2,A9:A129)

--
Biff
Microsoft Excel MVP


"Lost in Query" wrote in message
...
I cannot get SUMIF to work for me at all.

I have a Sum Range F9:F129 = numbers
I have a Criteria Range A9::A129=Dates
and I have a Criteria M2 (TODAY)
I want all numbers in the range F9:F129 to be added thus SUM all up to
TODAY
<=M2 depending on Dates in column A9:A129 but it just comes back with nil
it
doesn't seem to recognise that M2 is a number (TODAY) and thus it will not
calculate anything.

Chris





  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How do I sum numbers thru specifying the amount from another c

If you want to sum based on a date range:

M2 = lower boundary date
M3 = upper boundary date

=SUMIF(F9:F129,"="&M2,A9:A129)-SUMIF(F9:F129,""&M3,A9:A129)

Note that the boundary dates are included in the sum.

Format as General or Number

--
Biff
Microsoft Excel MVP


"DaleS" wrote in message
...
I'm trying to use multiple criteria in my SUMIF and COUNTIF functions and
I'm
unable to figure out how to nest/combine them using the same rationale as
shown below [ =SUMIF(F9:F129,"<="&M2,A9:A129) ]

I want to do something that would be like: and("<="&M2,"="&M3)
but can't get the syntax right...

Thanks


"T. Valko" wrote:

What does your formula look like?

It should look like this:

=SUMIF(F9:F129,"<="&M2,A9:A129)

--
Biff
Microsoft Excel MVP


"Lost in Query" wrote in message
...
I cannot get SUMIF to work for me at all.

I have a Sum Range F9:F129 = numbers
I have a Criteria Range A9::A129=Dates
and I have a Criteria M2 (TODAY)
I want all numbers in the range F9:F129 to be added thus SUM all up to
TODAY
<=M2 depending on Dates in column A9:A129 but it just comes back with
nil
it
doesn't seem to recognise that M2 is a number (TODAY) and thus it will
not
calculate anything.

Chris







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 to limit amount of numbers in cells in excel Jeff Excel Worksheet Functions 6 August 20th 08 04:03 PM
For Hector Miguel - Inserting page numbers in cell mato nanjin Excel Discussion (Misc queries) 0 December 30th 05 03:09 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Cell will not format numbers correctly for a 13 digit custom barc. Laudan Excel Worksheet Functions 4 April 11th 05 08:13 PM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM


All times are GMT +1. The time now is 08:40 AM.

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

About Us

"It's about Microsoft Excel"