Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default What type of "lookup"

Kat wrote:
"Glenn" wrote in message
...
Kat wrote:
I have a spreadsheet with 5 tabs. Each sheet in the tab has 4 columns (A,
B, C, D) Sheet 1, Sheet 2, Sheet 3, Sheet 4 and Sheet 5.

Each sheet pertains to different customers except, Sheet 1 is my
reporting sheet to find the differences.

On each sheet:
Column A - Text (part numbers, Alpha sorted)
Column B - Part description
Column C - UPC #
Column D - Price per 100

Sheet 2 has the most info it in. All part numbers (columnA) listed in
Alphabetic order from Cell A2 - A4675, it is the most extensive price
sheet.

Sheets 3, 4 & 5 have anywhere from 309 - 485 rows of part numbers.

Sheet 1 has all part numbers listed alphabetic order in Column A starting
in Cell A2

I want to compare the price each customer gets (column d) and report that
on sheet 1. Here is the formula I'm trying to use in sheet 1, B2:
=LOOKUP(A2,Sheet2!$A$2:$A$309,Sheet2!$D$2:$D$309)
The formula changes for each row to "lookup(A3...", "lookup(A4..." etc.

My problem is that if the formula finds a price it reports it fine but
the next row doesn't have a price and it repeats the price from the row
above until it finds another difference. Any suggestions to a better
formula or what might be wrong with mine?

Any help is greatly appreicated.

Thanks in Advance

Kat





Try this:

=VLOOKUP(A2,Sheet2!$A$2:$D$309,4,FALSE)



Looks like this will work, THANKS!! =) I have a few questions though. I
like to understand what the formula means. I understand the beginning up
until the ,4,false how does that make the answer show up? why a number 4
instead of 1,2 or 3?

thanks



4 refers to the column number in the table from which you want to return a
value. False is a setting that requires an exact match.

If the help file doesn't explain it well enough, try he

http://www.contextures.com/xlFunctions02.html
Reply
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
"Type mismatch" when I try to fill an Array variable with "+" [email protected] Excel Discussion (Misc queries) 1 April 17th 07 01:28 PM
how do I type "itis" without Excel putting a space "it is"? Max Excel Worksheet Functions 4 March 18th 07 10:22 PM
When I type "BVE" in a cell, it automatically chanegs to"BE"..Why ELF Excel Discussion (Misc queries) 1 July 28th 06 07:44 PM
When I type "13" the spreadsheet shows "14." Possibilities? Absolutely Stumped Excel Discussion (Misc queries) 7 May 30th 06 10:19 PM
Where is the toolbar with the "bold type", "font type", options fwccbcc New Users to Excel 2 May 3rd 06 09:11 PM


All times are GMT +1. The time now is 03:56 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"