Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Wondering if there is a way?

Thanks in advance for whomever looks at this. Here is my
problem. I have two Excel spreadsheets within a book. On
one sheet is a listing of customers and the corresponding
states they reside in. The second sheet is a price quote
sheet. Is there anyway I can reference the cell in the
price quote sheet which has a state value in it to lookup
and match the listing of customers with this value?
Thanks again!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Wondering if there is a way?

I'm assuming there is only one price per state, and you want the price to appear next to the customers name (on the first sheet.

Try
=IF(ISNA(VLOOKUP(B5,Sheet2!$A$1:$B$6,2,FALSE)),"No Price",(VLOOKUP(B5,Sheet2!$A$1:$B$6,2,FALSE))
Where
B5 is the customer's stat
Sheet2!$A$1:$B$6 is the state/price matri

If you have prices for every state (and states for every customer) or don't mind seeing #N/A errors you can just use the vlookup part.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Wondering if there is a way?

I am actually not trying to get a price. I am trying to
get a list of customers within the matching state. Would
the below statement work? Thanks again!
-----Original Message-----
I'm assuming there is only one price per state, and you

want the price to appear next to the customers name (on
the first sheet.)

Try:
=IF(ISNA(VLOOKUP(B5,Sheet2!$A$1:$B$6,2,FALSE)),"N o Price",

(VLOOKUP(B5,Sheet2!$A$1:$B$6,2,FALSE)))
Where
B5 is the customer's state
Sheet2!$A$1:$B$6 is the state/price matrix

If you have prices for every state (and states for every

customer) or don't mind seeing #N/A errors you can just
use the vlookup part.
.

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
just wondering, do they have smthing called XMIRR Pushkar Excel Worksheet Functions 1 July 25th 08 08:58 AM
We were wondering how to edit an array once it has been set up? Kfalcone Excel Worksheet Functions 3 December 14th 06 04:54 AM
Nothing to do with Excel....wondering if there is a way to check.. Jules Excel Discussion (Misc queries) 1 August 14th 06 05:37 PM
I am wondering if someone could help me solve this equation Miles Excel Discussion (Misc queries) 1 October 25th 05 08:04 AM
Wondering If Possible J Excel Programming 0 September 4th 03 04:41 PM


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