Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
TK TK is offline
external usenet poster
 
Posts: 177
Default ListBox (finding Repost) (try to line up my example)

Hi:

In the following: Column A and B are used as ListBox Items.
C, D and E are supporting data
A B C D E
1 PickList Area Cost Acces. Cost
2 Plywood 32 1.00 .25 1.25
3 Patio Blk. 1 2.00 .15 2.15
4 Pavers 4.5 3.00 .35 3.35

In another part of the worksheet items can
be picked from the picklist and a formula
in column E calculates amountss needed.

A B C D E
Item Area Length Width Total
12 Plywood 32 8 8 2
13 Patio Blk 1 3 3 9
14 Plywood 32 4 8 1
15 Patio Blk 1 1 2 2
16 Patio Blk 1 22 2 44
17 Plywood 32 12 8 3

Then a =SUMIF will total the summed items.


A B C D
21 Item Amt Needed Cost Total
22 Plywood 6 ? =C22*B22
23 Patio Block 55 ? =C23*B23

The question is how do I refer back to the items' cost from C23.
In that case Plywood (cost = cell E3).
and then from C24 in that case Patio Block(cost = E4)

I have tried some if statements with loops but mine seem pretty clumsy.
Any guidance or example will be greatly appreciated.

Thanks
TK



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default ListBox (finding Repost) (try to line up my example)

Hi TK

you can use the vlookup function
=VLOOKUP(C22,$A$1:$E$4,5,0)
to populate C23 etc

Hope this helps
Cheers
JulieD



"TK" wrote in message
...
Hi:

In the following: Column A and B are used as ListBox Items.
C, D and E are supporting data
A B C D E
1 PickList Area Cost Acces. Cost
2 Plywood 32 1.00 .25 1.25
3 Patio Blk. 1 2.00 .15 2.15
4 Pavers 4.5 3.00 .35 3.35

In another part of the worksheet items can
be picked from the picklist and a formula
in column E calculates amountss needed.

A B C D E
Item Area Length Width Total
12 Plywood 32 8 8 2
13 Patio Blk 1 3 3 9
14 Plywood 32 4 8 1
15 Patio Blk 1 1 2 2
16 Patio Blk 1 22 2 44
17 Plywood 32 12 8 3

Then a =SUMIF will total the summed items.


A B C D
21 Item Amt Needed Cost Total
22 Plywood 6 ? =C22*B22
23 Patio Block 55 ? =C23*B23

The question is how do I refer back to the items' cost from C23.
In that case Plywood (cost = cell E3).
and then from C24 in that case Patio Block(cost = E4)

I have tried some if statements with loops but mine seem pretty clumsy.
Any guidance or example will be greatly appreciated.

Thanks
TK





  #3   Report Post  
Posted to microsoft.public.excel.programming
TK TK is offline
external usenet poster
 
Posts: 177
Default ListBox (finding Repost) (try to line up my example)

Thanks Julie
Probally as close as I'll get to what I want.

"JulieD" wrote:

Hi TK

you can use the vlookup function
=VLOOKUP(C22,$A$1:$E$4,5,0)
to populate C23 etc

Hope this helps
Cheers
JulieD



"TK" wrote in message
...
Hi:

In the following: Column A and B are used as ListBox Items.
C, D and E are supporting data
A B C D E
1 PickList Area Cost Acces. Cost
2 Plywood 32 1.00 .25 1.25
3 Patio Blk. 1 2.00 .15 2.15
4 Pavers 4.5 3.00 .35 3.35

In another part of the worksheet items can
be picked from the picklist and a formula
in column E calculates amountss needed.

A B C D E
Item Area Length Width Total
12 Plywood 32 8 8 2
13 Patio Blk 1 3 3 9
14 Plywood 32 4 8 1
15 Patio Blk 1 1 2 2
16 Patio Blk 1 22 2 44
17 Plywood 32 12 8 3

Then a =SUMIF will total the summed items.


A B C D
21 Item Amt Needed Cost Total
22 Plywood 6 ? =C22*B22
23 Patio Block 55 ? =C23*B23

The question is how do I refer back to the items' cost from C23.
In that case Plywood (cost = cell E3).
and then from C24 in that case Patio Block(cost = E4)

I have tried some if statements with loops but mine seem pretty clumsy.
Any guidance or example will be greatly appreciated.

Thanks
TK






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default ListBox (finding Repost) (try to line up my example)

Hi TK

what more would you like?

Cheers
JulieD

"TK" wrote in message
...
Thanks Julie
Probally as close as I'll get to what I want.

"JulieD" wrote:

Hi TK

you can use the vlookup function
=VLOOKUP(C22,$A$1:$E$4,5,0)
to populate C23 etc

Hope this helps
Cheers
JulieD



"TK" wrote in message
...
Hi:

In the following: Column A and B are used as ListBox Items.
C, D and E are supporting data
A B C D E
1 PickList Area Cost Acces. Cost
2 Plywood 32 1.00 .25 1.25
3 Patio Blk. 1 2.00 .15 2.15
4 Pavers 4.5 3.00 .35 3.35

In another part of the worksheet items can
be picked from the picklist and a formula
in column E calculates amountss needed.

A B C D E
Item Area Length Width Total
12 Plywood 32 8 8 2
13 Patio Blk 1 3 3 9
14 Plywood 32 4 8 1
15 Patio Blk 1 1 2 2
16 Patio Blk 1 22 2 44
17 Plywood 32 12 8 3

Then a =SUMIF will total the summed items.


A B C D
21 Item Amt Needed Cost Total
22 Plywood 6 ? =C22*B22
23 Patio Block 55 ? =C23*B23

The question is how do I refer back to the items' cost from C23.
In that case Plywood (cost = cell E3).
and then from C24 in that case Patio Block(cost = E4)

I have tried some if statements with loops but mine seem pretty

clumsy.
Any guidance or example will be greatly appreciated.

Thanks
TK








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
ListBox ( finding supporting data not in the list) TK Excel Programming 0 August 31st 04 03:37 AM
Repost: ListBox Headings - customized! Class Module (warning: long post)" Robots Excel Programming 4 July 19th 04 09:01 AM
(repost) Listbox Rowsource Headings Multi columns hgdev Excel Programming 1 April 13th 04 07:08 PM
repost: Listbox text align jim c. Excel Programming 1 October 27th 03 07:31 PM


All times are GMT +1. The time now is 04:55 AM.

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"