how to create a formula based on Cell Value?

jamiguel77

Active Member
Joined
Feb 14, 2006
Messages
378
Office Version
  1. 2016
  2. 2010
  3. 2007
Platform
  1. Windows
  2. Web
hi i have this data:

A1=5 B1=6 C1=9 D1=3
A2=2 B2=7 C2=3 D2=5
A3=2 B3=1
G1=100.21

the value in A3 give me the column number in this case 2=B and the value in B3 give me the row number.... in this case 1=first row... the combination of both values is: B1

in A4 i want do: =B1*G1

but is the values:

A3=4 B3=2 =D4

the formula changed autmatically to:

in A4 i want do: =D4*G1

Any advice?

thanks
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Shouldn't A3=4 B3=2 be D2 not D4?
 
Upvote 0
Does this do what you want?

20 12 25.xlsm
ABCDEFG
15693100.21
22735
321
4601.26
INDEX
Cell Formulas
RangeFormula
A4A4=INDEX(A1:D2,B3,A3)*G1
 
Upvote 0
Solution
yes D2.... error....

then reprashing:
but is the values:

A3=4 B3=2 =D2

the formula changed autmatically to:

in A4 i want do: =D2*G1

Any advice?

thanks
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,974
Messages
6,122,536
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top