A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Selecting a cell depending on the other cell's value, kind of



 
 
Thread Tools Display Modes
  #1  
Old April 1st, 2008, 09:45 PM
wally_91 wally_91 is offline
Member
 
First recorded activity by OfficeFrustration: Mar 2008
Posts: 5
Question 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

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 DS.
  #2  
Old April 2nd, 2008, 08:42 AM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
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  
Old April 2nd, 2008, 05:12 PM
wally_91 wally_91 is offline
Member
 
First recorded activity by OfficeFrustration: Mar 2008
Posts: 5
Thumbs up

Quote:
Originally Posted by Bill Manville View Post
D1: =INDIRECT("B"&A4)*INDIRECT("C"&A4)
Wow! Thanks!

Best regards,
wally
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.