Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can I reference a cell based on value in other cell?
Hi there, So for instance I have data in A1:A:10 I type a number in cell B1, say 3 Now I want cell C1 to contain A3+5 but when I chance B1 to 4, C1 should change to A4+5 in other words the fomulea in C1 has a reference that depends on another cell (a pointer if you wish). Thanks heaps! Bas -- bvandijk ------------------------------------------------------------------------ bvandijk's Profile: http://www.excelforum.com/member.php...o&userid=32300 View this thread: http://www.excelforum.com/showthread...hreadid=520570 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can I reference a cell based on value in other cell?
Hi
Try something like this in C1: =INDIRECT("A"&B1)+5 Andy. "bvandijk" wrote in message ... Hi there, So for instance I have data in A1:A:10 I type a number in cell B1, say 3 Now I want cell C1 to contain A3+5 but when I chance B1 to 4, C1 should change to A4+5 in other words the fomulea in C1 has a reference that depends on another cell (a pointer if you wish). Thanks heaps! Bas -- bvandijk ------------------------------------------------------------------------ bvandijk's Profile: http://www.excelforum.com/member.php...o&userid=32300 View this thread: http://www.excelforum.com/showthread...hreadid=520570 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can I reference a cell based on value in other cell?
Great ! it works. -- bvandijk ------------------------------------------------------------------------ bvandijk's Profile: http://www.excelforum.com/member.php...o&userid=32300 View this thread: http://www.excelforum.com/showthread...hreadid=520570 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can I reference a cell based on value in other cell?
It works great but I have another problem now: when the target cell is empty, the formuleau returns '0' instead of an empty cell. Any hints on that? Thanks! Bas -- bvandijk ------------------------------------------------------------------------ bvandijk's Profile: http://www.excelforum.com/member.php...o&userid=32300 View this thread: http://www.excelforum.com/showthread...hreadid=520570 |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can I reference a cell based on value in other cell?
Here you go:
=IF(INDIRECT("A"&B1)=0,"",INDIRECT("A"&B1)) Andy. "bvandijk" wrote in message ... It works great but I have another problem now: when the target cell is empty, the formuleau returns '0' instead of an empty cell. Any hints on that? Thanks! Bas -- bvandijk ------------------------------------------------------------------------ bvandijk's Profile: http://www.excelforum.com/member.php...o&userid=32300 View this thread: http://www.excelforum.com/showthread...hreadid=520570 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
HELP| populate cell with particular value based on multiple condit | Excel Worksheet Functions | |||
Can you have fixed cell reference when dragging/copying formulae? | Excel Discussion (Misc queries) | |||
Flexible Cell Reference | Excel Discussion (Misc queries) | |||
Copy cell format to cell on another worksht and update automatical | Excel Worksheet Functions | |||
Cell Reference Math | Excel Worksheet Functions |