![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Microsoft Office support MS Office support forum |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 1
OS: Vista
|
Hi, I am trying to write a formula for work and keep coming up with errors.
Below is an example of what i'm trying to accomplish. I have 2 sheets and am trying to vlookup from sheet1 to sheet2 (vlookup(b3,sheet1c:d,2,false). My problem is i have identical data on sheet 1 with the difference in column b. I tried to combine if and vlookup but to no avail. Is there a way to say if sheet2 column a = sheet1 columb b then look for b3 and return the value in column d? I sure hope that makes sense. a b c d sheet1 3 john 1234 1.255 4 john 2345 1.255 5 john 3456 1.255 6 john 4567 1.255 7 john 5678 1.255 8 jane 1234 2.255 9 jane 2345 2.255 10 jane 3456 2.255 11 jane 4567 2.255 12 jane 5678 2.255 sheet2 john 3456 jane 2345 Thank you for any help you can give.
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
Join Date: May 2008
Location: Baltimore, Maryland
Posts: 160
OS: Windows XP SP3
|
Re: Formula help
As an example, if Sheet1 and Sheet2 contain the data shown in the attached picture, and you wanted to have Excel look at the data in columns A and B on Sheet2, find the matching values in columns B and C on Sheet1, return the corresponding value in column D on Sheet1, and place that result in column C on Sheet2, you could enter an array formula in C1 on Sheet2 such as:
{=INDEX(Sheet1!$D$1:$D$10,MATCH(1,(Sheet1!$B$1:$B$10=$A1)*(Sheet1!$C$1:$C$10=$B1),0))} Remember to use Ctrl-Shift-Enter to enter array formulas (you do not type the { and } characters). Last edited by David M58; 05-26-2008 at 07:53 PM. |
|
|
|
![]() |
| Thread Tools | |
|
|