Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Put Value at Intersection

Status
Not open for further replies.

monagan

Technical User
May 28, 2004
138
US
I have Name,Date,HoursWorked

I need to know how to have excel look in another excel file and find where Name(column A) and date (row 3) intersect, and place the hours worked there
 
Is name,date,hrs a single comma seperated cell or three seperate cells?

When you want to put the hour there, as in,
and place the hours worked there
is the there the grid?


Mike
 
Assuming the following:
1. The name, date, and hours are in different cells
2. You want to put the hours worked into the intersection in a grid

Here is my sample data:
Code:
name	date        hrs
mike	08/05/04	8
dave	08/05/04	10
jill	08/05/04	5
mike	08/06/04	8
dave	08/06/04	10
jill	08/06/04	5
mike	08/07/04	8
dave	08/07/04	10
jill	08/07/04	5
mike	08/08/04	8
dave	08/08/04	10

My table resulted in:
Code:
	       mike  dave  jill
8/5/2004	8	10	5
8/6/2004	8	10	5
8/7/2004	8	10	5


Using named ranges of Name, Date and Hours the formula I used was (in cell B2):
Code:
=SUMPRODUCT((name=B$1)*(date=$A2)*(hours))
You can copy this formula across and down to fill the table.

Mike
 
Mike

I was thinking of something more like with out a formula.
Where I can just click a submit button.

They way you assumed my data was correct.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top