Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
BB BB is offline
external usenet poster
 
Posts: 39
Default help with vlookup

Hello

I have a spreadsheet of a rather large stocklist. I use this to check off
the price charged on the invoice when we receive the goods, against the
quoted buy price in the spreadsheet. Column A3 - A8000 (ish) contains a
product code; B3 = description; C3 = buy price; D3 = sell price; E3 = Profit
margin, etc.

I use this formula (courtesy of Sandyman) to make my checking off easier, as
i just enter the code in and voila!
=IF($A$2="","",VLOOKUP($A2,$A3:$E10000,COLUMNS($A$ 2:B2),FALSE))

My question is this: is there a way to extract the cell reference aswell and
have it appear with the other information, incase the price in the stocklist
is incorrect and i need to change it, to save me looking through the 8000 odd
entries...?

Any help much appreciated.


  #2   Report Post  
Posted to microsoft.public.excel.newusers
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default help with vlookup

you could use the match function to identify which item in the list matched
your criteria.

=Match($A2, $A$3:$A$10000, 0)

you could incorporate this into the address function to actually get a cell
address

=Address(Match($A2, $A$3:$A$10000, 0) + Row($A$3) - 1 , Column($A$3), 4)



"BB" wrote:

Hello

I have a spreadsheet of a rather large stocklist. I use this to check off
the price charged on the invoice when we receive the goods, against the
quoted buy price in the spreadsheet. Column A3 - A8000 (ish) contains a
product code; B3 = description; C3 = buy price; D3 = sell price; E3 = Profit
margin, etc.

I use this formula (courtesy of Sandyman) to make my checking off easier, as
i just enter the code in and voila!
=IF($A$2="","",VLOOKUP($A2,$A3:$E10000,COLUMNS($A$ 2:B2),FALSE))

My question is this: is there a way to extract the cell reference aswell and
have it appear with the other information, incase the price in the stocklist
is incorrect and i need to change it, to save me looking through the 8000 odd
entries...?

Any help much appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.newusers
BB BB is offline
external usenet poster
 
Posts: 39
Default help with vlookup

Thank you JMB, that worked perfectly!

"JMB" wrote:

you could use the match function to identify which item in the list matched
your criteria.

=Match($A2, $A$3:$A$10000, 0)

you could incorporate this into the address function to actually get a cell
address

=Address(Match($A2, $A$3:$A$10000, 0) + Row($A$3) - 1 , Column($A$3), 4)



"BB" wrote:

Hello

I have a spreadsheet of a rather large stocklist. I use this to check off
the price charged on the invoice when we receive the goods, against the
quoted buy price in the spreadsheet. Column A3 - A8000 (ish) contains a
product code; B3 = description; C3 = buy price; D3 = sell price; E3 = Profit
margin, etc.

I use this formula (courtesy of Sandyman) to make my checking off easier, as
i just enter the code in and voila!
=IF($A$2="","",VLOOKUP($A2,$A3:$E10000,COLUMNS($A$ 2:B2),FALSE))

My question is this: is there a way to extract the cell reference aswell and
have it appear with the other information, incase the price in the stocklist
is incorrect and i need to change it, to save me looking through the 8000 odd
entries...?

Any help much appreciated.


  #4   Report Post  
Posted to microsoft.public.excel.newusers
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default help with vlookup

you're welcome - thanks for the feedback!

"BB" wrote:

Thank you JMB, that worked perfectly!

"JMB" wrote:

you could use the match function to identify which item in the list matched
your criteria.

=Match($A2, $A$3:$A$10000, 0)

you could incorporate this into the address function to actually get a cell
address

=Address(Match($A2, $A$3:$A$10000, 0) + Row($A$3) - 1 , Column($A$3), 4)



"BB" wrote:

Hello

I have a spreadsheet of a rather large stocklist. I use this to check off
the price charged on the invoice when we receive the goods, against the
quoted buy price in the spreadsheet. Column A3 - A8000 (ish) contains a
product code; B3 = description; C3 = buy price; D3 = sell price; E3 = Profit
margin, etc.

I use this formula (courtesy of Sandyman) to make my checking off easier, as
i just enter the code in and voila!
=IF($A$2="","",VLOOKUP($A2,$A3:$E10000,COLUMNS($A$ 2:B2),FALSE))

My question is this: is there a way to extract the cell reference aswell and
have it appear with the other information, incase the price in the stocklist
is incorrect and i need to change it, to save me looking through the 8000 odd
entries...?

Any help much appreciated.


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
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 05:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"