LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Max
 
Posts: n/a
Default

One take on your post ..

Assuming you have a reference table
in Sheet1, cols A to D, data from row2 down
-------------
PayRate CarCount TypeSvc Value
C 50 F 200
D 100 P 300
B 50 L 100

In Sheet2
-------------
If you have the values of:
PayRate, CarCount, TypeSvc
listed down in cols A to C, from row2 down,
viz.:
In A2:C2 : B, 50, L
In A3:C3 : C, 50, F

Put in D2:
=INDEX(Sheet1!$D$2:$D$100,MATCH(1,(Sheet1!$A$2:$A$ 100=A2)*(Sheet1!$B$2:$B$10
0=B2)*(Sheet1!$C$2:$C$100=C2),0))

Array-enter the formula,
i.e. press CTRL+SHIFT+ENTER
instead of just pressing ENTER

Copy D2 down

Col D will retrieve the values from col D in Sheet1
corresponding to inputs in cols A to C, i.e.
for the sample inputs above, you'll get:

B 50 L 100
C 50 F 200

Or perhaps better with an error-trap,
put instead in D2 and array-enter:

=IF(ISNA(MATCH(1,(Sheet1!$A$2:$A$100=A2)*(Sheet1!$ B$2:$B$100=B2)*(Sheet1!$C$
2:$C$100=C2),0)),"",INDEX(Sheet1!$D$2:$D$100,MATCH (1,(Sheet1!$A$2:$A$100=A2)
*(Sheet1!$B$2:$B$100=B2)*(Sheet1!$C$2:$C$100=C2),0 )))

Copy D2 down, as before

The above will now return blanks: "" (instead of #NAs)
for any unmatched "combination" inputs in cols A to C

Adapt the ranges to suit
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Scooterdog" wrote in message
...
In column A1 is my pay rate.
In column A2 is my car count.
In column A3 is my type service.
I want A1, A2 and A3 to all be recongized for the answer.
Example:
In A1 I have the letter B
In A2 I have the number 50
In A3 I have the letter L
With these 3 contents in the cells, I need a answer of 100.
NOW;
If I change A1 to the letter C
If I leave A2 at 50
If I change A3 to F
I would like the answer to be 200
I can do the regular Index function ok. I understand the tables.
It's this third item in column A3 I am having a problem with(I think).
I hope this is enough information without getting real deep in the
formula.
Thanks in advance for any help.



 
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
Match, Index, Vlookup, Large....Help Please [email protected] Excel Worksheet Functions 3 December 15th 04 01:38 PM
Match, Index, Vlookup, Large....Help Please [email protected] Excel Worksheet Functions 0 December 14th 04 11:16 PM
Match & Index Phyllis B. Excel Worksheet Functions 2 November 27th 04 03:26 PM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 08:12 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


All times are GMT +1. The time now is 05:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"