#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF formula

I am trying to set up a spreadsheet where I can create an invoice. I want to
be able to have a price list in another area of the spreadsheet; enter a code
and have the unit price displayed in the invoice area.

I am not proficient in excel. just know the basics. HELP!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default IF formula

Enter the codes in Col A of Sheet2 and corresponding unit price in Col B...
Come back to your Invoice sheet... Let us assume you enter the code in A1 of
this sheet and want the price in B1
Then in B1 enter
=VLOOKUP(A1,Sheet2!A:B,2,False) to get the price

To suppress the #N/A error till you enter a code use
=IF(ISNA(VLOOKUP(A1,Sheet2!A:B,2,False) ,"",VLOOKUP(A1,Sheet2!A:B,2,False) )

"honey do repairs" wrote:

I am trying to set up a spreadsheet where I can create an invoice. I want to
be able to have a price list in another area of the spreadsheet; enter a code
and have the unit price displayed in the invoice area.

I am not proficient in excel. just know the basics. HELP!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default IF formula

Hi,

Similar to Sheeloo's

=VLOOKUP(A1,D1:E9,2,)

Where your table is in D1:E9

In 2007 you can reduce the error handling to

=IFERROR(VLOOKUP(A1,D1:E9,2,),"")



--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"honey do repairs" wrote:

I am trying to set up a spreadsheet where I can create an invoice. I want to
be able to have a price list in another area of the spreadsheet; enter a code
and have the unit price displayed in the invoice area.

I am not proficient in excel. just know the basics. HELP!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default IF formula

What you need is not an If formula, but rather a vlookup function.
Have a look at the following vlookup video tutorials:

http://www.free-training-tutorial.co...n-vlookup.html



"honey do repairs" wrote:

I am trying to set up a spreadsheet where I can create an invoice. I want to
be able to have a price list in another area of the spreadsheet; enter a code
and have the unit price displayed in the invoice area.

I am not proficient in excel. just know the basics. HELP!

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



All times are GMT +1. The time now is 03:28 AM.

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"