Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 148
Default Sum of every time 2 different texts are found in 2 different colum

I am regarding as fairly Excel smart at work, however by comparison to these
questions I am an idiot.

I have a running list which rows are added to nearly everyday. Columns A €“
L are populated with different data. Specifically, column G has employee
names and column J has dates.

I have a summary page with all dates listed horizontally and all employee
names listed vertically. I would love it if, for example, on the summary
page under date (August 26th) and in the employee name row (Heather) the cell
would populate with the total number of times Heather and August 26th were in
the same row on the running list.

I hope this makes sense.

I appreciate any assistance.

Regards,
Heather

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 395
Default Sum of every time 2 different texts are found in 2 different colum

Heather- if your names are in Sheet1 Col G and your dates are in Sheet1 Col J

Create a list of unique names and dates on Sheet2, with dates in B1:?1
(however many you have) and put the names in A2:A? (however many you have).

Put this formula in Sheet2 Cell B2, then copy it across your whole range:
=SUMPRODUCT((B$1=Sheet1!$J$1:$J$1000)*1,(Sheet1!$G $1:$G$1000=Sheet2!$A2)*1)

Note that the placement of the dollar signs is intentional to allow it to
fill out your target range properly. If you have more than 1000 records on
Sheet 1, extend the range by changing the values of 1000 to a larger number.

If you don't want to show zero values, try something like:

=IF(SUMPRODUCT((B$1=Sheet1!$J$1:$J$1000)*1,(Sheet1 !$G$1:$G$1000=Sheet2!$A2)*1)=0,"",SUMPRODUCT((B$1= Sheet1!$J$1:$J$1000)*1,(Sheet1!$G$1:$G$1000=Sheet2 !$A2)*1))

Or much easier, just use conditional formatting to set the text color of
zero value cells to white (matches the background color)

HTH,
Keith

"Heather" wrote:

I am regarding as fairly Excel smart at work, however by comparison to these
questions I am an idiot.

I have a running list which rows are added to nearly everyday. Columns A €“
L are populated with different data. Specifically, column G has employee
names and column J has dates.

I have a summary page with all dates listed horizontally and all employee
names listed vertically. I would love it if, for example, on the summary
page under date (August 26th) and in the employee name row (Heather) the cell
would populate with the total number of times Heather and August 26th were in
the same row on the running list.

I hope this makes sense.

I appreciate any assistance.

Regards,
Heather

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
colum is not found thats missing a column B how to find it meena Excel Worksheet Functions 1 July 17th 09 10:36 AM
Sumif a date time colum and information JMB Excel Discussion (Misc queries) 6 March 20th 08 06:34 AM
Look up a value in one colum and insert the value found in the adj lgr021238 New Users to Excel 1 December 17th 07 07:28 PM
Keeping a sum colum correct after inserting a colum of data in fro hazel Excel Discussion (Misc queries) 3 October 19th 05 09:51 PM
Check data on colum A and find match on colum b Chris(new user) Excel Discussion (Misc queries) 3 March 20th 05 04:45 PM


All times are GMT +1. The time now is 03:43 AM.

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"