Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.links
external usenet poster
 
Posts: 1
Default Selecting a cell depending on the other cell's value, kind of


Hi!

I have a table (4x4). It looks something like

A1 = x B1 = 40 C1 = 0.5
A2 = "" B2 = 50 C2 = 0.7
A3 = "" B3 = 60 C3 = 0.9
A4 = 1

A4 gets calculated by looking at which of A1 to A3 that has a "x" in
it. As you can se here, A1 has a "x" in it, thereby A4 gets the value
1.

Now, in D1 I want to do something like

D1 =B&A4*C&A4
in other words,
D1 =B1*C1

This may look stupid here but I need it for something bigger ;):p

The way I'm trying now doesn't work. It gives me a "#Name?"-error
(invalid name (or something like that. I'm running the Swedish version
here ;D)).

If you need any more info, just tell me :)

Thanks!

Best regards,
wally

PS. I wasn't sure where to put this but I'm guessing this is the right
one :D DS.




--
wally_91
  #2   Report Post  
Posted to microsoft.public.excel.links
external usenet poster
 
Posts: 473
Default Selecting a cell depending on the other cell's value, kind of

D1: =INDIRECT("B"&A4)*INDIRECT("C"&A4)

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

  #3   Report Post  
Posted to microsoft.public.excel.links
external usenet poster
 
Posts: 1
Default Selecting a cell depending on the other cell's value, kind of


Bill Manville;2702213 Wrote:
D1: =INDIRECT("B"&A4)*INDIRECT("C"&A4)

Wow! Thanks!

Best regards,
wally




--
wally_91
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
How can I change a picture depending on a cell's contents LEP Excel Discussion (Misc queries) 1 December 23rd 07 12:16 AM
Counting depending on kind of letters FC Excel Discussion (Misc queries) 2 April 23rd 07 10:30 AM
CONDITIONAL RESULTS DEPENDING ON CELL'S NAME (sumproduct) HERNAN Excel Discussion (Misc queries) 4 September 5th 06 09:02 PM
How do I get a cell to flash depending on another cell's value? trrrr Excel Worksheet Functions 3 May 8th 06 06:41 PM
Changing named range reference depending on a cell's content cparaske Excel Discussion (Misc queries) 1 July 29th 05 07:06 PM


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