Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Vince281
 
Posts: n/a
Default Excel - easy summary (I hope !)


Hi All
I need to summarise the total of entries for a particular day in a
table like this :


Date Sale
June 01 50.00
June 01 50.00
June 03 60.00
June 03 20.00
Etc.


How do I get just today's sales ? i.e. I just want to have a cell like
this :


Today's sales are : 80.00

(as today is June 3rd).


Been looking at COUNTIF but just can't work it out.
Do I need to do a range somehow ? Help much appreciated !


--
Vince281
------------------------------------------------------------------------
Vince281's Profile: http://www.excelforum.com/member.php...o&userid=24084
View this thread: http://www.excelforum.com/showthread...hreadid=376893

  #2   Report Post  
barrfly
 
Posts: n/a
Default


have you tried the function sumif?

the criteria is
range
criteria
sumrange

range - select the column that has the dates of all the sales
criteria - select the one cell that has todays date (set cell value to
=today() )
sumrange - select the column next to the date range that has sales

to get the outcome that you were looking for select an empty cell and
type
="today's seles are "&C2)

where C2 is the cell with the sumif function


--
barrfly

Excel User - Energy markets
------------------------------------------------------------------------
barrfly's Profile: http://www.excelforum.com/member.php...fo&userid=4141
View this thread: http://www.excelforum.com/showthread...hreadid=376893

  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

="Today's sales a " & TEXT(SUMIF(A:A,TODAY(),B:B),"00.00")


In article ,
Vince281
wrote:

Hi All
I need to summarise the total of entries for a particular day in a
table like this :


Date Sale
June 01 50.00
June 01 50.00
June 03 60.00
June 03 20.00
Etc.


How do I get just today's sales ? i.e. I just want to have a cell like
this :


Today's sales are : 80.00

(as today is June 3rd).


Been looking at COUNTIF but just can't work it out.
Do I need to do a range somehow ? Help much appreciated !

  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=SUMIF(A2:A20,"="&TODAY(),B2:B20)

however that assumes that the "dates" are real excel dates and not text

=SUMPRODUCT(--(A2:A20=TEXT(TODAY(),"mmmm dd")),B2:B20)

--
Regards,

Peo Sjoblom

(No private emails please)


"Vince281" wrote in
message ...

Hi All
I need to summarise the total of entries for a particular day in a
table like this :


Date Sale
June 01 50.00
June 01 50.00
June 03 60.00
June 03 20.00
Etc.


How do I get just today's sales ? i.e. I just want to have a cell like
this :


Today's sales are : 80.00

(as today is June 3rd).


Been looking at COUNTIF but just can't work it out.
Do I need to do a range somehow ? Help much appreciated !


--
Vince281
------------------------------------------------------------------------
Vince281's Profile:
http://www.excelforum.com/member.php...o&userid=24084
View this thread: http://www.excelforum.com/showthread...hreadid=376893


  #5   Report Post  
Vince281
 
Posts: n/a
Default


Worked a treat. Thanks for amazingly quick suggestion.


--
Vince281
------------------------------------------------------------------------
Vince281's Profile: http://www.excelforum.com/member.php...o&userid=24084
View this thread: http://www.excelforum.com/showthread...hreadid=376893

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
VBA for Excel 2000 file is corrupt nkamp Excel Discussion (Misc queries) 0 May 26th 05 03:37 PM
Slight problem automating Excel in a service someone Setting up and Configuration of Excel 2 May 13th 05 10:04 PM
Excel Files Acting Weird Anat Excel Discussion (Misc queries) 0 March 29th 05 03:07 AM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM


All times are GMT +1. The time now is 10:19 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"