Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How would I go about having a function return a single value from searching
several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Difficult to see your layout, but...
If you want exact matches for just two columns (and return a value from a third), you could use: =index(othersheet!$c$1:$c$100, match(1,(a2=othersheet!$a$1:$a$100)*(b2=othersheet !$b$1:$b$100),0)) (all in one cell) This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it correctly, excel will wrap curly brackets {} around your formula. (don't type them yourself.) Adjust the range to match--but you can't use the whole column. This returns the value in othersheet column C when column A and B (of othersheet) match A2 and B2 of the sheet with the formula. And you can add more conditions by just adding more stuff to that product portion of the formula: =index(othersheet!$d$1:$d$100, match(1,(a2=othersheet!$a$1:$a$100) *(b2=othersheet!$b$1:$b$100) *(c2=othersheet!$c$1:$c$100),0)) IntricateFool wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Basically I want to have column D return what system it falls into based on
the county in column C. Each System contains anywhere from 2-6 counties. Column C contains a county and over on another part of the spreadhseet I have 6 columns. The first columns contains the System Name, and the following lists all the counties that fall under that system. How would I go about displaying the system name in Column D based on the county in Col C? There are about 600 systems to reference... D H I J N 1 County|System|SysName|County1|County2|County6 | 2 | | | | | | 3 Bucks| ? |System1 | Boman | Bucks | Farrel | ? should = "System1" looking through 600 systems to determine, and not on same row like model above. Some Systems only contain 2 or 3 counties, some contain up to 6. Because "Bucks" falls into System1 based on J3 (Bucks falls under "system1"), D3 would therefore return System1. C contains about 1000 rows of counties, alot of them being the same. "Bucks" could be listed 50 - 60 times in Column C, but only once within a SysName.... I need D to look through H:N and return the system based on the "County" in column C. I just can't seem to think that logically today... Does that make more sense? I appreciate your help! "Dave Peterson" wrote: Difficult to see your layout, but... If you want exact matches for just two columns (and return a value from a third), you could use: =index(othersheet!$c$1:$c$100, match(1,(a2=othersheet!$a$1:$a$100)*(b2=othersheet !$b$1:$b$100),0)) (all in one cell) This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it correctly, excel will wrap curly brackets {} around your formula. (don't type them yourself.) Adjust the range to match--but you can't use the whole column. This returns the value in othersheet column C when column A and B (of othersheet) match A2 and B2 of the sheet with the formula. And you can add more conditions by just adding more stuff to that product portion of the formula: =index(othersheet!$d$1:$d$100, match(1,(a2=othersheet!$a$1:$a$100) *(b2=othersheet!$b$1:$b$100) *(c2=othersheet!$c$1:$c$100),0)) IntricateFool wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Did you try creating a formula based on that suggestion?
IntricateFool wrote: Basically I want to have column D return what system it falls into based on the county in column C. Each System contains anywhere from 2-6 counties. Column C contains a county and over on another part of the spreadhseet I have 6 columns. The first columns contains the System Name, and the following lists all the counties that fall under that system. How would I go about displaying the system name in Column D based on the county in Col C? There are about 600 systems to reference... D H I J N 1 County|System|SysName|County1|County2|County6 | 2 | | | | | | 3 Bucks| ? |System1 | Boman | Bucks | Farrel | ? should = "System1" looking through 600 systems to determine, and not on same row like model above. Some Systems only contain 2 or 3 counties, some contain up to 6. Because "Bucks" falls into System1 based on J3 (Bucks falls under "system1"), D3 would therefore return System1. C contains about 1000 rows of counties, alot of them being the same. "Bucks" could be listed 50 - 60 times in Column C, but only once within a SysName.... I need D to look through H:N and return the system based on the "County" in column C. I just can't seem to think that logically today... Does that make more sense? I appreciate your help! "Dave Peterson" wrote: Difficult to see your layout, but... If you want exact matches for just two columns (and return a value from a third), you could use: =index(othersheet!$c$1:$c$100, match(1,(a2=othersheet!$a$1:$a$100)*(b2=othersheet !$b$1:$b$100),0)) (all in one cell) This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it correctly, excel will wrap curly brackets {} around your formula. (don't type them yourself.) Adjust the range to match--but you can't use the whole column. This returns the value in othersheet column C when column A and B (of othersheet) match A2 and B2 of the sheet with the formula. And you can add more conditions by just adding more stuff to that product portion of the formula: =index(othersheet!$d$1:$d$100, match(1,(a2=othersheet!$a$1:$a$100) *(b2=othersheet!$b$1:$b$100) *(c2=othersheet!$c$1:$c$100),0)) IntricateFool wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... -- Dave Peterson -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I could not follow what you had.
=index(othersheet!$c$1:$c$100,match(1,(a2=othershe et!$a$1:$a$100)*(b2=othersheet!$b$1:$b$100),0)) othersheet!$c$1:$c$100 is referring to the "county" column? match(1, refers to? match(1,(a2= I'm not sure how I would apply that? "Dave Peterson" wrote: Did you try creating a formula based on that suggestion? IntricateFool wrote: Basically I want to have column D return what system it falls into based on the county in column C. Each System contains anywhere from 2-6 counties. Column C contains a county and over on another part of the spreadhseet I have 6 columns. The first columns contains the System Name, and the following lists all the counties that fall under that system. How would I go about displaying the system name in Column D based on the county in Col C? There are about 600 systems to reference... C D H I J N 1 County|System|SysName|County1|County2|County6 | 2 | | | | | | 3 Bucks| ? |System1 | Boman | Bucks | Farrel | ? should = "System1" looking through 600 systems to determine, and not on same row like model above. Some Systems only contain 2 or 3 counties, some contain up to 6. Because "Bucks" falls into System1 based on J3 (Bucks falls under "system1"), D3 would therefore return System1. C contains about 1000 rows of counties, alot of them being the same. "Bucks" could be listed 50 - 60 times in Column C, but only once within a SysName.... I need D to look through H:N and return the system based on the "County" in column C. I just can't seem to think that logically today... Does that make more sense? I appreciate your help! "Dave Peterson" wrote: Difficult to see your layout, but... If you want exact matches for just two columns (and return a value from a third), you could use: =index(othersheet!$c$1:$c$100, match(1,(a2=othersheet!$a$1:$a$100)*(b2=othersheet !$b$1:$b$100),0)) (all in one cell) This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it correctly, excel will wrap curly brackets {} around your formula. (don't type them yourself.) Adjust the range to match--but you can't use the whole column. This returns the value in othersheet column C when column A and B (of othersheet) match A2 and B2 of the sheet with the formula. And you can add more conditions by just adding more stuff to that product portion of the formula: =index(othersheet!$d$1:$d$100, match(1,(a2=othersheet!$a$1:$a$100) *(b2=othersheet!$b$1:$b$100) *(c2=othersheet!$c$1:$c$100),0)) IntricateFool wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... -- Dave Peterson -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
And I still couldn't follow what you wanted.
If you had a table on another sheet (named OtherSheet) and wanted to use two values to bring back a third, you could use that formula. But I'm not sure that's the kind of thing you're looking for. IntricateFool wrote: I could not follow what you had. =index(othersheet!$c$1:$c$100,match(1,(a2=othershe et!$a$1:$a$100)*(b2=othersheet!$b$1:$b$100),0)) othersheet!$c$1:$c$100 is referring to the "county" column? match(1, refers to? match(1,(a2= I'm not sure how I would apply that? "Dave Peterson" wrote: Did you try creating a formula based on that suggestion? IntricateFool wrote: Basically I want to have column D return what system it falls into based on the county in column C. Each System contains anywhere from 2-6 counties. Column C contains a county and over on another part of the spreadhseet I have 6 columns. The first columns contains the System Name, and the following lists all the counties that fall under that system. How would I go about displaying the system name in Column D based on the county in Col C? There are about 600 systems to reference... C D H I J N 1 County|System|SysName|County1|County2|County6 | 2 | | | | | | 3 Bucks| ? |System1 | Boman | Bucks | Farrel | ? should = "System1" looking through 600 systems to determine, and not on same row like model above. Some Systems only contain 2 or 3 counties, some contain up to 6. Because "Bucks" falls into System1 based on J3 (Bucks falls under "system1"), D3 would therefore return System1. C contains about 1000 rows of counties, alot of them being the same. "Bucks" could be listed 50 - 60 times in Column C, but only once within a SysName.... I need D to look through H:N and return the system based on the "County" in column C. I just can't seem to think that logically today... Does that make more sense? I appreciate your help! "Dave Peterson" wrote: Difficult to see your layout, but... If you want exact matches for just two columns (and return a value from a third), you could use: =index(othersheet!$c$1:$c$100, match(1,(a2=othersheet!$a$1:$a$100)*(b2=othersheet !$b$1:$b$100),0)) (all in one cell) This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it correctly, excel will wrap curly brackets {} around your formula. (don't type them yourself.) Adjust the range to match--but you can't use the whole column. This returns the value in othersheet column C when column A and B (of othersheet) match A2 and B2 of the sheet with the formula. And you can add more conditions by just adding more stuff to that product portion of the formula: =index(othersheet!$d$1:$d$100, match(1,(a2=othersheet!$a$1:$a$100) *(b2=othersheet!$b$1:$b$100) *(c2=othersheet!$c$1:$c$100),0)) IntricateFool wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... -- Dave Peterson -- Dave Peterson -- Dave Peterson |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming your "System to County" table is in $Q$1:$V$5, enter this formula
into D2 =INDEX($Q$1:$Q$5, SUMPRODUCT(($R$1:$V$5 = D1) * ROW($Q$1:$Q$5)) - ROW($Q$1:$Q$5) + 1) Adjust the ranges to fit your needs... NOTES: The counties need to be unique in the table, or bad results will occur. -- Festina Lente "IntricateFool" wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Oups !
Replace D1 by C2 in the above formula, sorry... -- Festina Lente "PapaDos" wrote: Assuming your "System to County" table is in $Q$1:$V$5, enter this formula into D2 =INDEX($Q$1:$Q$5, SUMPRODUCT(($R$1:$V$5 = D1) * ROW($Q$1:$Q$5)) - ROW($Q$1:$Q$5) + 1) Adjust the ranges to fit your needs... NOTES: The counties need to be unique in the table, or bad results will occur. -- Festina Lente "IntricateFool" wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Could you check out the file I have posted online and see if you can get it
working? It is not working for me... I have been trying all day. http://dl019.filefactory.com/dl/f/c9...2fd2d5a671586/ Showing you an actualy file is the only way I can think of to show you exactly what I am trying to do... I really appreciate your help. "PapaDos" wrote: Oups ! Replace D1 by C2 in the above formula, sorry... -- Festina Lente "PapaDos" wrote: Assuming your "System to County" table is in $Q$1:$V$5, enter this formula into D2 =INDEX($Q$1:$Q$5, SUMPRODUCT(($R$1:$V$5 = D1) * ROW($Q$1:$Q$5)) - ROW($Q$1:$Q$5) + 1) Adjust the ranges to fit your needs... NOTES: The counties need to be unique in the table, or bad results will occur. -- Festina Lente "IntricateFool" wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... |
#10
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sorry, I never open files coming from that kind of source.
Did you try to adjust my formula t your ranges ? -- Festina Lente "IntricateFool" wrote: Could you check out the file I have posted online and see if you can get it working? It is not working for me... I have been trying all day. http://dl019.filefactory.com/dl/f/c9...2fd2d5a671586/ Showing you an actualy file is the only way I can think of to show you exactly what I am trying to do... I really appreciate your help. "PapaDos" wrote: Oups ! Replace D1 by C2 in the above formula, sorry... -- Festina Lente "PapaDos" wrote: Assuming your "System to County" table is in $Q$1:$V$5, enter this formula into D2 =INDEX($Q$1:$Q$5, SUMPRODUCT(($R$1:$V$5 = D1) * ROW($Q$1:$Q$5)) - ROW($Q$1:$Q$5) + 1) Adjust the ranges to fit your needs... NOTES: The counties need to be unique in the table, or bad results will occur. -- Festina Lente "IntricateFool" wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... |
#11
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yes I tried, but it is not working. I don't see how using the sumproduct
function would work. I am thinking it would be more of a combination of index and match. Then again I could be completely wrong. Is there anywhere else I could forward the file? "PapaDos" wrote: Sorry, I never open files coming from that kind of source. Did you try to adjust my formula t your ranges ? -- Festina Lente "IntricateFool" wrote: Could you check out the file I have posted online and see if you can get it working? It is not working for me... I have been trying all day. http://dl019.filefactory.com/dl/f/c9...2fd2d5a671586/ Showing you an actualy file is the only way I can think of to show you exactly what I am trying to do... I really appreciate your help. "PapaDos" wrote: Oups ! Replace D1 by C2 in the above formula, sorry... -- Festina Lente "PapaDos" wrote: Assuming your "System to County" table is in $Q$1:$V$5, enter this formula into D2 =INDEX($Q$1:$Q$5, SUMPRODUCT(($R$1:$V$5 = D1) * ROW($Q$1:$Q$5)) - ROW($Q$1:$Q$5) + 1) Adjust the ranges to fit your needs... NOTES: The counties need to be unique in the table, or bad results will occur. -- Festina Lente "IntricateFool" wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... |
#12
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Update on this, as the OP started another thread.
I took the risk and downloaded the file. Your formula worked well once I had adjusted it to suit the ranges in the file and made the correction you pointed out. Here is the amended version: =INDEX($H$2:$H$4,SUMPRODUCT(($I$2:$N$4=C2)*ROW($H$ 2:$H$4))-ROW($H$2:$H$4)+1) In the sample file the data covers H2:N4, but in reality this will go down to row 630+. The formula produced #VALUE if the county in column C was not present in the reference table. Pete PapaDos wrote: Oups ! Replace D1 by C2 in the above formula, sorry... -- Festina Lente "PapaDos" wrote: Assuming your "System to County" table is in $Q$1:$V$5, enter this formula into D2 =INDEX($Q$1:$Q$5, SUMPRODUCT(($R$1:$V$5 = D1) * ROW($Q$1:$Q$5)) - ROW($Q$1:$Q$5) + 1) Adjust the ranges to fit your needs... NOTES: The counties need to be unique in the table, or bad results will occur. -- Festina Lente "IntricateFool" wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... |
#13
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks to both of you for the feedback...
-- Festina Lente "IntricateFool" wrote: How would I go about having a function return a single value from searching several different columns and matching the proper "name" with its "county"? Here is what the spreadsheet looks like: C D | H I J K 1 County System | System County1 County2 County3 2 Mobile ? | System 1 Mobile Montco Harris 3 Bucks ? | System 2 Ford George Newman 4 George System2 | System 3 Boman Bucks Farrel 5 York ? | System 4 Rosel Duke York D2 should = System 1 D3 should = System 3 D5 should = System 4 Each System contains unique counties. What function (s) would I need to use to match the correct county to its respective system? As of now I am trying to use in cell "D2": =INDEX(H1:K5,MATCH(C2,C2:C1246,0),MATCH(H1,I2:K2,0 )) <-completely off? obviously not working... Any help would be greatly appreciated... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need Help with Index and Match or Vlookup | Excel Worksheet Functions | |||
Using 8/23/2005 with INDEX, MATCH, VLOOKUP and IF | Excel Worksheet Functions | |||
is there a way to search with vlookup to match more than 1 column | Excel Discussion (Misc queries) | |||
dynamic, double vlookup, match, index, dget?? different workbooks | Excel Worksheet Functions | |||
VLookup or Index Match ? | Excel Worksheet Functions |