Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2014, 06:50 PM
lily lily is offline If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Windows 8 If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Office 2013
Novice
If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3)
 
Join Date: Oct 2014
Posts: 18
lily is on a distinguished road
Default If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3)


Hi everyone, First of all thank you for helping me out. This is what I have

Sheet 1 - List of Description

C1 = Name (C2 to C20 )
D1 = Description (D2 to D20)
E1 = Price (E2 to E20)

fe. Watch (C2) Cartier Watch Design from 2009 (D2) 500,000 Dollar (E1)

Sheet 2 - Invoice

A10 - Here I would wanna refer to a cell in Sheet 1 - (C2 to C20)

Is it possible to automatically put the matching description and price in B10 and C10

Thank you
Reply With Quote
  #2  
Old 10-21-2014, 06:26 AM
gebobs gebobs is offline If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Windows 7 64bit If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

If there is only one watch to look for, sure:

B10: =VLOOKUP(A10,C2:C20,2,FALSE)
C10: =VLOOKUP(A10,C2:C20,3,FALSE)
Reply With Quote
  #3  
Old 10-21-2014, 05:51 PM
lily lily is offline If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Windows 8 If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Office 2013
Novice
If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3)
 
Join Date: Oct 2014
Posts: 18
lily is on a distinguished road
Default

Gebobs, Thank you for your swift response.

What if the list is in another excel document instead of sheet 1.
Is it then also possible to refer to another excel document. Let's name that document List2013.exe
Reply With Quote
  #4  
Old 10-22-2014, 06:17 AM
gebobs gebobs is offline If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Windows 7 64bit If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Quote:
Originally Posted by lily View Post
Gebobs, Thank you for your swift response.

What if the list is in another excel document instead of sheet 1.
Is it then also possible to refer to another excel document. Let's name that document List2013.exe
Yes you can.

Would it be possible to attach some samples of the sheets you want to use?
Reply With Quote
  #5  
Old 10-22-2014, 06:49 PM
lily lily is offline If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Windows 8 If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Office 2013
Novice
If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3)
 
Join Date: Oct 2014
Posts: 18
lily is on a distinguished road
Default

Quote:
Originally Posted by gebobs View Post
Yes you can.

Would it be possible to attach some samples of the sheets you want to use?
Hey Gebobs! Thank you so much for your help. I have the solution it seems. Thank you again
Reply With Quote
  #6  
Old 10-21-2014, 05:55 PM
lily lily is offline If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Windows 8 If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Office 2013
Novice
If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3)
 
Join Date: Oct 2014
Posts: 18
lily is on a distinguished road
Default

Oh, it isn't only just one watch to look for.
Depending on the item to look for, find the matching description and price.
Reply With Quote
  #7  
Old 10-21-2014, 07:23 PM
gebobs gebobs is offline If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Windows 7 64bit If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Quote:
Originally Posted by lily View Post
Oh, it isn't only just one watch to look for.
Depending on the item to look for, find the matching description and price.
If there is more than one, how should we know what to look for? We need a primary key...one that defines the record definitively.

If watch isn't enough, then what? Watch #3? Watch #2?
Reply With Quote
  #8  
Old 10-21-2014, 11:40 PM
lily lily is offline If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Windows 8 If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Office 2013
Novice
If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3)
 
Join Date: Oct 2014
Posts: 18
lily is on a distinguished road
Default

Quote:
Originally Posted by gebobs View Post
If there is more than one, how should we know what to look for? We need a primary key...one that defines the record definitively.

If watch isn't enough, then what? Watch #3? Watch #2?
yeah, like for example

Watch Description Price
Armani Armani, blue rubber wrist HK$5,000,000
Armani Gold Armani, gold wrist HK$198,000
Cartier Cartier Jewellery wrist watch HK$248,000

and the list goes on and on.

so, there is actually a list of watches, with the matching description and price
Reply With Quote
  #9  
Old 10-21-2014, 06:31 PM
lily lily is offline If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Windows 8 If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Office 2013
Novice
If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3)
 
Join Date: Oct 2014
Posts: 18
lily is on a distinguished road
Default

I am sorry, here I am again with another question.

Everything is the same, except that I want to use a dropdown list instead of "Name" in A2 (SheetInvoice)

Now here it comes:

-----------------------------------------------
Suppose that given:

Sheet 1 - List of Description

C1 = Name (C2 to C20 )
D1 = Description (D2 to D20)
E1 = Price (E2 to E20)

fe. Watch (C2) Cartier Watch Design from 2009 (D2) 500,000 Dollar (E1)


and I want to automatically use sheet 2 for the invoice

Sheet 2 - Invoice

This time I want to make A10 to A30 a dropdown list. The dropdown list is the list from the 1st sheet (Name)

Is it possible to automatically put the matching description and price in B10 and C10 (when you choose a random item in the dropdown list)?

Thank you
Reply With Quote
  #10  
Old 10-23-2014, 06:21 AM
gebobs gebobs is offline If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Windows 7 64bit If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Thank goodness. I was lost and not much help.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOKUP looking at another cell for its range Rich18144 Excel 1 06-24-2014 07:56 AM
Change formula cell range based on cell value Scoth Excel 4 10-25-2012 07:51 AM
If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) show a cell s7y Excel Programming 26 05-26-2012 08:00 PM
If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Word VBA: Cannot Edit Range (Delete characters except the first in a table cell) tinfanide Word VBA 3 04-27-2012 09:48 AM
If (C1 = refer to a cell in a range) then (show the description in C2) & (corresponding price in C3) Limit cell range use talkinglens Excel 6 12-31-2010 08:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft