Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hey, I need a statement to put in a macro that will find two cells and sum them putting the result in cell d4. The first cell is always d7 but the second cell moves about every time the data is updated. I'm at a bit of a loss as to how to find the second cell, it is always 3 to the left of a cell named sales so I thought I may be search for the cell 'sales' and then use then use offset to get the cell 3 to the left and then define a name for it so I could use it in the sum... but this doesn't work as it gives the cell a reference rather then calling it active.cell. Can anyone this of a way of doing this? As I am a wee bit stumped. Cheers Hayley -- Hru48 ------------------------------------------------------------------------ Hru48's Profile: http://www.excelforum.com/member.php...o&userid=24895 View this thread: http://www.excelforum.com/showthread...hreadid=542085 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Works grand cheers -- Hru48 ------------------------------------------------------------------------ Hru48's Profile: http://www.excelforum.com/member.php...o&userid=24895 View this thread: http://www.excelforum.com/showthread...hreadid=542085 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
glad one of them helped
-- Don Guillett SalesAid Software "Hru48" wrote in message ... Works grand cheers -- Hru48 ------------------------------------------------------------------------ Hru48's Profile: http://www.excelforum.com/member.php...o&userid=24895 View this thread: http://www.excelforum.com/showthread...hreadid=542085 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Finding matching cells | Excel Discussion (Misc queries) | |||
Finding Cells | Excel Worksheet Functions | |||
Finding days between cells C and L where the cells may be empty | Excel Worksheet Functions | |||
Finding Cells | Excel Programming | |||
Finding cells and summing variable cells | Excel Programming |