Microsoft
Software
Hardware
Network
Question : Using VLOOKUP Based on 2 Criteria
I would like to use vlookup() based on two criteria if this is possible. I have two worksheets, one labeled "1", and one labeled "2". I am running the following code in Column C in worksheet "2":
=IF(VLOOKUP($A2,'1'!$A$1:$
C$5000,3,0
)=30,"A","
I")
This code works great except for the fact that there are multiple matches in Column A on worksheet "1". Each duplicate in Column A on worksheet "1" has a unique number in Column C of the same worksheet. The way this code runs is that it brings up the first value that it finds. The problem is that when IT ran this report, they could not put each unique value in its own field. Instead the unique values are all in Column A in worksheet "1".
I want to be able to run some sort of vlookup that looks at Column A in Worksheet "2" and finds the corresponding value in Worksheet 1 that also has 30 in Column C in Worksheet "1".
I know this sounds very complicated and I hope I was able to explain myself ok. Is there a way to write a function that allows me to do this?
Thanks,
Chris V.
Here is the issue I have. IT ran me a report in Excel that has
Answer : Using VLOOKUP Based on 2 Criteria
Oops code snippets not good for this
=IF(ISNUMBER(MATCH(1,('1'!
$A$1:$A$50
00=$A2)
*('1'!$C$1:$C$5000=30),0))
,"A","I")
Random Solutions
After changing TCP/IP settings (IP from other IP range) windows firewall has switched the active profile from domain to standard. WHY ?
Once in a while I am receiving this Microsoft error ?
Question using remote desktop connection to a Windows Server
Exchange 2003 no inbound and local delivery
Search Engine Registration
500 line too long
Set up a test environment for sharepoint server 2007
Adding Images to a Reporting Services Report
Reduce the size of my database
user defined error messages instead of system defined error messages