get cells address value in a cells to run a formula

bigMe

New Member
Joined
Mar 20, 2023
Messages
9
Office Version
  1. 2016
Platform
  1. Windows
hello...
i have 2 sheets, in sheet1 in cell A1 contains cells address (the value is dynamic can change) refer to a cells in sheet2 (example C1)
i need to run formula Round in cells C1 in sheet2 with rule the value in C1 is result of previous cells divide with cells A1(fix cells)
in this case =ROUND(B1/A1;2) if the address in cells A1 in sheet1 change for example cells G7 the formula become =ROUND(F7/A1;2)
can someone help me on this case? thank you very much.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi
have a look at the INDIRECT function
 
Upvote 0
not following exactly
if in A1 you have a cell reference

Sheet2!H4

then what would the round be
using the cell address in A1

so effectively you want

=round(B1/ the reference in A1 which is Sheet2!H4 , 2) to 2 places

the example you show is
B1 and then say use A1
if G7 then use F7

so is the reference used NOT whats in the cell A1 ???

as mentioned indirect() is how to get a value from a cell and use in a formula
 
Upvote 0
dear etaf,
please see the attachment, so you would get clear point for my question, thank you very much

note : the formula is previous column (in this case cloumn B) divide with cells A1(fix cells)

regards,
bigMe

Capture1.JPG




Capture2.JPG
 
Upvote 0
Perhaps
Excel Formula:
=ROUND(B1/INDIRECT($A$1),2)
If you are referring to another workbook I think it should be open
 
Upvote 0

Forum statistics

Threads
1,215,007
Messages
6,122,670
Members
449,091
Latest member
peppernaut

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