Change The ROW / COLUMN from a formula

JhonsonTan

New Member
Joined
Dec 4, 2015
Messages
28
C8 = "20" , K8 = "$1000" , K22 = "$2000"
if c3 = "=c8" , THEN c2 = k8 = "$1000"
if c3 = "=c22" , then c2 = k22 = "$2000"
so if i just need to change c3 value , then c2 will follow
is this possible?
i want the formula in C2 cell
thank you
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
DATA
| A | B | C |
1|--A--|-AA--|--1--|
2|-----|-----|--2--|
3|-----|-----|--3--|
4|--B--|-BB--|--4--|
5|--C--|-CC--|--5--|
6|-----|-----|--6--|
7|--D--|-DD--|--7--|
8|-----|-----|--8--|
9|-----|-----|--9--|




IF D1 = A1 , RESULT
| D | E | F | G |
1|--A--|--B--|--C--|--D--|
2|--AA-|--BB-|--CC-|--DD-|
3|--1--|--4--|--5--|--7--|
4|--2--|-----|--6--|--8--|
5|--3--|-----|-----|--9--|
6|-----|-----|-----|-----|


IF D1 = A4 , RESULT
| D | E | F |
1|--B--|--C--|--D--|
2|--BB-|--CC-|--DD-|
3|--4--|--5--|--7--|
4|-----|--6--|--8--|
5|-----|-----|--9--|
6|-----|-----|-----|


IF D1 = A5
| D | E |
1|--C--|--D--|
2|--CC-|--DD-|
3|--5--|--7--|
4|--6--|--8--|
5|-----|--9--|
6|-----|-----|


i want the formula for e1,e2,e3,e4,e5,e6
that can be drag to right
 
Upvote 0
Hi andrew.. can u help me solve this please

B1 = sum(A#:A*)
B2 = count(A#:A*)

if B1 = sum(A1:A5) then B2 = count(A1:A5)
if B1 = sum(A2:A5) then B2 = count(A2:A5)
if B1 = sum(A3:A7) then B2 = count(A3:A7)
something like that
i want b2 to count the cell that b1 provide
 
Upvote 0
Are you just asking these questions out of curiosity or do they apply to a real scenario?

I would put the start and stop values in a couple of cells and use INDEX to build the relevant ranges, eg:

=SUM(INDEX(A:A,C1):INDEX(A:A,C2))
 
Upvote 0
Are you just asking these questions out of curiosity or do they apply to a real scenario?

I would put the start and stop values in a couple of cells and use INDEX to build the relevant ranges, eg:

=SUM(INDEX(A:A,C1):INDEX(A:A,C2))
im learning and im working on a worksheet. im using this worksheet daily, i want to make connection between cell so i just need to input less data.
in this case, i need to sum cost of some package. Beside to sum the cost, i also want to count how many is the package. that it
so, is there is a way which i dont need to use c1 and c2?
anyway thanks for your response again.
 
Upvote 0
I suppose you could extract the range reference from the formula in B1 using FORMULATEXT, but I don't see the point in making things that complicated.
 
Upvote 0

Forum statistics

Threads
1,215,129
Messages
6,123,218
Members
449,091
Latest member
jeremy_bp001

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