Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Brian
 
Posts: n/a
Default Query questions (I think)

My situation:

I have a worksheet that is my pricelist. It contains columns representing
retail price, my cost, part number, and description.

1) I have another worksheet in my workbook that I want to use for quoting. I
would like to be able to simply type in the part number and have the rest of
the field auto populate from the pricelist.

2) I would also like to have rows on the quote sheet that don't contain any
information to be autohidden (if this is possible).

Thank you for your time and attention, greatly appreciated.
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
1. Have a look at VLOOKUP. See:
http://www.contextures.com/xlFunctions02.html

"Brian" wrote:

My situation:

I have a worksheet that is my pricelist. It contains columns representing
retail price, my cost, part number, and description.

1) I have another worksheet in my workbook that I want to use for quoting. I
would like to be able to simply type in the part number and have the rest of
the field auto populate from the pricelist.

2) I would also like to have rows on the quote sheet that don't contain any
information to be autohidden (if this is possible).

Thank you for your time and attention, greatly appreciated.

  #3   Report Post  
Andy Brown
 
Posts: n/a
Default

I have a worksheet that is my pricelist. It contains columns representing
retail price, my cost, part number, and description.

1) I have another worksheet in my workbook that I want to use for quoting.

I
would like to be able to simply type in the part number and have the rest

of
the field auto populate from the pricelist.


Firstly, re-order your pricelist columns so that part number is the first.
Then you can use VLOOKUP, eg:

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

where A2 = cell on Quote sheet where you entered the part number ;
PriceList!$A$2:$D$4 = your pricelist table ; & 2 = the pricelist table
column from which you need the info (in this case, the 2nd column, whatever
that contains.

2) I would also like to have rows on the quote sheet that don't contain

any
information to be autohidden (if this is possible).


You can do this with a macro, AKA VBA. Or you can select the range (that may
contain blanks) and F5 -- Special -- Blanks -- OK, and then Format -- Row --
Hide.

HTH,
Andy


  #4   Report Post  
Brian
 
Posts: n/a
Default

Thanks for the input.
One issue though, I get the pricelist from my vendor and it is protect
therefore I am unable to resort the columns, is it a problem to use it as
is?

Current format is Column A is description, B is part number, C is retail
price, D is my price.

Thanks again.

"Andy Brown" wrote in message
...
I have a worksheet that is my pricelist. It contains columns

representing
retail price, my cost, part number, and description.

1) I have another worksheet in my workbook that I want to use for

quoting.
I
would like to be able to simply type in the part number and have the

rest
of
the field auto populate from the pricelist.


Firstly, re-order your pricelist columns so that part number is the first.
Then you can use VLOOKUP, eg:

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

where A2 = cell on Quote sheet where you entered the part number ;
PriceList!$A$2:$D$4 = your pricelist table ; & 2 = the pricelist table
column from which you need the info (in this case, the 2nd column,

whatever
that contains.

2) I would also like to have rows on the quote sheet that don't contain

any
information to be autohidden (if this is possible).


You can do this with a macro, AKA VBA. Or you can select the range (that

may
contain blanks) and F5 -- Special -- Blanks -- OK, and then Format --

Row --
Hide.

HTH,
Andy




  #5   Report Post  
Andy Brown
 
Posts: n/a
Default

Current format is Column A is description, B is part number, C is retail
price, D is my price.


Try (in B2 of quote sheet, where A2 = part number):

=INDEX(PriceList!A:A,MATCH(A2,PriceList!B:B,0),1)

HTH,
Andy


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
Query of External Data Excel GuRu Excel Discussion (Misc queries) 2 January 3rd 05 07:43 PM
saving wkbk minus MS Query links Bill_S Excel Discussion (Misc queries) 1 January 3rd 05 06:00 PM
Microsoft Query Help Patti Excel Worksheet Functions 4 December 25th 04 09:54 AM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM
Editing MS Query Patti Excel Worksheet Functions 2 December 2nd 04 01:31 PM


All times are GMT +1. The time now is 09:28 PM.

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"