@SUMIF and Using Dates as Criteria

scottlloyd33

New Member
Joined
Oct 7, 2002
Messages
32
Columnar Data looks like:

1/25/2001 $10.00 $20.00
8/5/2001 $10.00 $20.00
5/10/2000 $20,00 $40.00
12/25/1999 $40,00 $80.00

My problem -- I don't want to hard-wire my date criteria into the formula -- I want it to go look at cell. Say A5 that has the date 12/31/2001 -- I want to formula to look like the following:

@Sumif(a1..a3,<=Cell A5,b1..b3)

What is necessary format for the criteria?

My first try at Mr. Excel -- so please be kind -- lol
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
On 2002-10-08 14:35, scottlloyd33 wrote:
Columnar Data looks like:

1/25/2001 $10.00 $20.00
8/5/2001 $10.00 $20.00
5/10/2000 $20,00 $40.00
12/25/1999 $40,00 $80.00

My problem -- I don't want to hard-wire my date criteria into the formula -- I want it to go look at cell. Say A5 that has the date 12/31/2001 -- I want to formula to look like the following:

@Sumif(a1..a3,<=Cell A5,b1..b3)

What is necessary format for the criteria?

My first try at Mr. Excel -- so please be kind -- lol

The formula is:

=SUMIF(A1:A3,"<="&A5,B1:B3)
 
Upvote 0
Thanks -- worked like a champ. I had tried it that way -- but got errors. Actually my spreadsheet was in 123 and I thought (hoped) the formulas would be the same -- but Lotus returned errors.
 
Upvote 0

Forum statistics

Threads
1,217,681
Messages
6,137,953
Members
450,100
Latest member
mscetr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top