Printable Version | Subscribe | Add to Favourites
New Topic New Poll New Reply
Author: Subject: Are there any Excel experts out there?
Mansfield

posted on 1/9/06 at 04:21 PM Reply With Quote
Are there any Excel experts out there?

I need to the cells in column B to be populated with the information in column E if the cells in column A match with the cells in column D.

I have found the MATCH command, column C shows where A and D match, but the result is not what I am after. And I am now stuck. I am expecting to use an IF command somewhere, but I cant find how.

Can anyone help?

David.

[Edited on 1/9/06 by Mansfield] Rescued attachment match.jpg
Rescued attachment match.jpg

View User's Profile View All Posts By User U2U Member
Aboardman

posted on 1/9/06 at 04:34 PM Reply With Quote
is it this simple

=IF(A1=D1,E1,0)

copy that down the column B

if not let me know what you are looking for, i will be able to come up with something.

View User's Profile View All Posts By User U2U Member
mark chandler

posted on 1/9/06 at 04:37 PM Reply With Quote
You need VLOOKUP


the sum in column b1 is:

=VLOOKUP(A1,D:E,2,FALSE)

Then drag down the rows

[Edited on 1/9/06 by mark chandler] Rescued attachment excel.JPG
Rescued attachment excel.JPG

View User's Profile View All Posts By User U2U Member
StevieB

posted on 1/9/06 at 04:37 PM Reply With Quote
Might be more suitable to an IF formula, but that's because I've never been able use the LOOKUP functions properly (if I did, my job would sooooooooooooo much easier and my people could be the best at their jobs rather than just being really good!)
View User's Profile View All Posts By User U2U Member
Tangerine Scream

posted on 1/9/06 at 04:41 PM Reply With Quote
I'd go for

=IF(A2=D2,E2,"")

in B2

V & HLOOKUP scare me !!

HTH
Steve

View User's Profile E-Mail User Visit User's Homepage View All Posts By User U2U Member
mark chandler

posted on 1/9/06 at 04:42 PM Reply With Quote
Vlookup is king, you can also look for text in text by using wildcards, if you want to find names with "the" in them from you column you could search for "*"&the&"*" and it would return katherine if that was the sought text.

Worth mastering as it works between worksheets and workbooks, even closed ones.

Regards Mark

[Edited on 1/9/06 by mark chandler]

View User's Profile View All Posts By User U2U Member
Mansfield

posted on 1/9/06 at 04:43 PM Reply With Quote
I have a sheet with 15000 rows that I need to treat like this. This is my practice sheet.

So far I have

=VLOOKUP(A2,D2:E11,5,FALSE)

That has not worked yet, but it may be close.

View User's Profile View All Posts By User U2U Member
StevieB

posted on 1/9/06 at 04:44 PM Reply With Quote
Here's a good one for LOOKUP then - I need a spreadsheet to search by name and produce the persons grade and cost rate - how the hell do I do that?

I've been trying for 2 years on and off and always end up with an error - it's the Holy Grail of Quantity Surveying! (that, and Pivot Tables, anyway!)

View User's Profile View All Posts By User U2U Member
Mansfield

posted on 1/9/06 at 04:46 PM Reply With Quote
Genius, Mark. Thank you. Rescued attachment lookup.jpg
Rescued attachment lookup.jpg

View User's Profile View All Posts By User U2U Member
Humbug

posted on 1/9/06 at 04:59 PM Reply With Quote
If you do use the VLOOKUP, I would avoid:

=VLOOKUP(A2,D2:E11,5,FALSE) because when you copy it down, the next row will be =VLOOKUP(A3,D3:E12,5,FALSE) and so on, i.e. it will not lookup up the same table. Also, putting 5 will not look at anything - the number refers to the nth coluimn in the lookup range. It should be 2.

=VLOOKUP(A1,D:E,2,FALSE) because this is looking up the whole of columns D and E unnecessarily - OK in a small workbooks, but in a big one it could slow things down.

I would recommend either:

=VLOOKUP(A2,$D$2:$E$11,2,FALSE) - the $ signs force it always to keep the cells referecnes even when the formula is copied

or name the range D2:E11 as something (e.g. Insert->Name->Define Lookup_Table), then put =VLOOKUP(A2,Lookup_Table,2,FALSE) where "Lookup_Table" is the name you decided.

View User's Profile View All Posts By User U2U Member
Aboardman

posted on 1/9/06 at 05:37 PM Reply With Quote
quote:
Originally posted by StevieB
Here's a good one for LOOKUP then - I need a spreadsheet to search by name and produce the persons grade and cost rate - how the hell do I do that?

I've been trying for 2 years on and off and always end up with an error - it's the Holy Grail of Quantity Surveying! (that, and Pivot Tables, anyway!)


how are the name done? full, inital and surname, let me know should be able to crack that one.

View User's Profile View All Posts By User U2U Member
StevieB

posted on 1/9/06 at 06:18 PM Reply With Quote
There's several ways to run the report, but full name is the usual way we run the reports - any pointers would be greatly appreciated!
View User's Profile View All Posts By User U2U Member
StevieB

posted on 1/9/06 at 06:22 PM Reply With Quote
Just got the email - your a star!
View User's Profile View All Posts By User U2U Member

New Topic New Poll New Reply


go to top






Website design and SEO by Studio Montage

All content © 2001-16 LocostBuilders. Reproduction prohibited
Opinions expressed in public posts are those of the author and do not necessarily represent
the views of other users or any member of the LocostBuilders team.
Running XMB 1.8 Partagium [© 2002 XMB Group] on Apache under CentOS Linux
Founded, built and operated by ChrisW.