Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
RB RB is offline
external usenet poster
 
Posts: 20
Default Not sure where to turn for this information.

I have a worksheet that I am making, and I have put drop down tables in it.
Now lets say I select Apples from the drop down menu, I want it to display
the price for the apples in the next colum, and if I choose Oranges, the
price for oranges, and so on. I am racking my brain on how to do this, and I
really don't know how to look it up. Any help that anyone could give would
be great.

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Not sure where to turn for this information.

Create a 2 column table with the product in the left column and the price in
the right column:

...........A..........B
1....Apples....1.99
2....Grapes....1.49
3....Dates......2.99
4....Figs........7.69

Assume your drop down list is in cell D1:

D1 = Grapes

Entered in cell E1:

=SUMIF(A1:A4,E1,B1:B4)

As an added bonus, you can use the left column of the table as the source
for your drop down list.

--
Biff
Microsoft Excel MVP


"RB" wrote in message
...
I have a worksheet that I am making, and I have put drop down tables in it.
Now lets say I select Apples from the drop down menu, I want it to display
the price for the apples in the next colum, and if I choose Oranges, the
price for oranges, and so on. I am racking my brain on how to do this,
and I
really don't know how to look it up. Any help that anyone could give
would
be great.

Thanks,



  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Not sure where to turn for this information.

Believe Biff meant, in E1: =SUMIF(A1:A4,D1,B1:B4)

Another usual way is via a vlookup:
In E1: =IF(E1="","",VLOOKUP(D1,$A$1:$B$4,2,0))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Not sure where to turn for this information.

And I think Max meant:

In E1: =IF(D1="","",VLOOKUP(D1,$A$1:$B$4,2,0))

Hope this helps.

Pete

On Jan 23, 10:29*am, Max wrote:
Believe Biff meant, in E1: =SUMIF(A1:A4,D1,B1:B4)

Another usual way is via a vlookup:
In E1: =IF(E1="","",VLOOKUP(D1,$A$1:$B$4,2,0))
--
Max
Singaporehttp://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---


  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Not sure where to turn for this information.

Yes, I did. Thanks for the correction.
(Like Biff, think I got warped into the "circular" vortex <g)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"Pete_UK" wrote in message
...
And I think Max meant:

In E1: =IF(D1="","",VLOOKUP(D1,$A$1:$B$4,2,0))

Hope this helps.

Pete





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default Not sure where to turn for this information.

Hi,

You can use lookup for this the vlook up formula would be something like
this. Since you already have a table this will help you.
=VLOOKUP(L1,I1:J3,2,FALSE)
--
_______________________
Click "Yes" if it helps
________
Thanks
Suleman Peerzade


"RB" wrote:

I have a worksheet that I am making, and I have put drop down tables in it.
Now lets say I select Apples from the drop down menu, I want it to display
the price for the apples in the next colum, and if I choose Oranges, the
price for oranges, and so on. I am racking my brain on how to do this, and I
really don't know how to look it up. Any help that anyone could give would
be great.

Thanks,

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Not sure where to turn for this information.

Like Biff, think I got warped into the "circular" vortex <g

We're all victims of the vortex at one time or another.

May the force be with you!

--
Biff
Microsoft Excel MVP


"Max" wrote in message
...
Yes, I did. Thanks for the correction.
(Like Biff, think I got warped into the "circular" vortex <g)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"Pete_UK" wrote in message
...
And I think Max meant:

In E1: =IF(D1="","",VLOOKUP(D1,$A$1:$B$4,2,0))

Hope this helps.

Pete





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
Help!! using sheet 1 information to change information on sheet 2 I want to learn more Excel Worksheet Functions 2 September 30th 08 05:25 PM
Turn Off New UI Need_More_Screen New Users to Excel 2 June 24th 06 07:20 PM
How do you turn off a FilterKey? Ms filterkey Excel Worksheet Functions 4 May 30th 06 07:13 AM
WHY DOES 1E4 TURN INTO 1.00 E + 04? THANKS Lisa B. Excel Discussion (Misc queries) 1 July 2nd 05 12:48 AM
How do i turn it off ceemo Excel Discussion (Misc queries) 2 May 25th 05 12:25 PM


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