Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Chase
 
Posts: n/a
Default How do I matchup this criteria?

I have two spreadsheets, one of which is a lever to which data is pulled, the
other is the source of the data. How do I get these guys to join up?

The sheet I'm pulling data to looks like this: (NDH means that I need data
to go there)

Date 1 Date 2 Date 3
Area (which changes) NDH NDH NDH

The sheet that I am getting data from looks like this?

Area 1 Area 2 Area 3
Date
Date
Date
Date

Basically, as the Areas and Dates change in the first worksheet, I need it
to pull the correct data by area and date from the second worksheet.

So,
A. How can I match it all up?
B. How can I do this so that if there is no data for a specific date, it
lists it as a 0?

Thanks,
CT
  #2   Report Post  
Vacation's Over
 
Posts: n/a
Default How do I matchup this criteria?

http://office.microsoft.com/en-us/as...549021033.aspx

combine Vlookup and match
assume Date 1 in B1, variableArea in A2
name on data sheet tab is "DataSheet"

NDH cell formula in B2

=Vlookup(B1, DataSheet!A2:D1000, Match(A2, DataSheet!B1:D1, 0), False)

to get 0 instead of error

=if(iserror
(Vlookup(B1, DataSheet!A2:D1000, Match(A2, DataSheet!B1:D1, 0), False),
0 ,
Vlookup(B1, DataSheet!A2:D1000, Match(A2, DataSheet!B1:D1, 0), False))

"Chase" wrote:

I have two spreadsheets, one of which is a lever to which data is pulled, the
other is the source of the data. How do I get these guys to join up?

The sheet I'm pulling data to looks like this: (NDH means that I need data
to go there)

Date 1 Date 2 Date 3
Area (which changes) NDH NDH NDH

The sheet that I am getting data from looks like this?

Area 1 Area 2 Area 3
Date
Date
Date
Date

Basically, as the Areas and Dates change in the first worksheet, I need it
to pull the correct data by area and date from the second worksheet.

So,
A. How can I match it all up?
B. How can I do this so that if there is no data for a specific date, it
lists it as a 0?

Thanks,
CT

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
Find largest alphanumeric value matching alpha criteria in databas Alison Excel Worksheet Functions 7 August 4th 05 06:59 PM
sorting more than 3 keys Brooke Excel Discussion (Misc queries) 3 June 18th 05 04:52 AM
Countif using format criteria....not number criteria? Troy Excel Worksheet Functions 1 April 20th 05 04:50 AM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM


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