#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Neo1
 
Posts: n/a
Default IF Function!?


Hello I'm having trouble doing a formulae to solve a problem that i have
basically its this:

I have a drop down list in a cell in excel which has (coke, fanta,
sprite) what I would like to do is when i pick one from the list and
gets displayed in the cell i would like for the cell beside it to show
the price of that item, how can I do this I've tried IF functions but
doesnt work for me.

Thanks for your time
From John Wood


--
Neo1
------------------------------------------------------------------------
Neo1's Profile: http://www.excelforum.com/member.php...o&userid=30329
View this thread: http://www.excelforum.com/showthread...hreadid=499930

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Wright
 
Posts: n/a
Default IF Function!?

Have a table of Products and Prices and then use VLOOKUP for what you want.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------


"Neo1" wrote in message
...

Hello I'm having trouble doing a formulae to solve a problem that i have
basically its this:

I have a drop down list in a cell in excel which has (coke, fanta,
sprite) what I would like to do is when i pick one from the list and
gets displayed in the cell i would like for the cell beside it to show
the price of that item, how can I do this I've tried IF functions but
doesnt work for me.

Thanks for your time
From John Wood


--
Neo1
------------------------------------------------------------------------
Neo1's Profile:
http://www.excelforum.com/member.php...o&userid=30329
View this thread: http://www.excelforum.com/showthread...hreadid=499930



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ray A
 
Posts: n/a
Default IF Function!?

One way;
Create a table with your price structure. Define a name for the table. You
can then use a vlookup function to populate the price.
HTH

"Neo1" wrote:


Hello I'm having trouble doing a formulae to solve a problem that i have
basically its this:

I have a drop down list in a cell in excel which has (coke, fanta,
sprite) what I would like to do is when i pick one from the list and
gets displayed in the cell i would like for the cell beside it to show
the price of that item, how can I do this I've tried IF functions but
doesnt work for me.

Thanks for your time
From John Wood


--
Neo1
------------------------------------------------------------------------
Neo1's Profile: http://www.excelforum.com/member.php...o&userid=30329
View this thread: http://www.excelforum.com/showthread...hreadid=499930


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roland
 
Posts: n/a
Default IF Function!?

=IF(A1="coke",1,IF(A1="fanta",2,3))


where 1, 2, and 3 are the prices for Coke, Fanta, and Sprite.

Check you spelling, spaces, and capitalization closely.


"Neo1" wrote:


Hello I'm having trouble doing a formulae to solve a problem that i have
basically its this:

I have a drop down list in a cell in excel which has (coke, fanta,
sprite) what I would like to do is when i pick one from the list and
gets displayed in the cell i would like for the cell beside it to show
the price of that item, how can I do this I've tried IF functions but
doesnt work for me.

Thanks for your time
From John Wood


--
Neo1
------------------------------------------------------------------------
Neo1's Profile: http://www.excelforum.com/member.php...o&userid=30329
View this thread: http://www.excelforum.com/showthread...hreadid=499930


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
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM


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