Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Inserting a cell changes my formula values
I have a formula thus: =IF(A4=B4,"SAME","DIFFERENT"). However, when I insert a cell above B4, the formula automatically changes, thus: =IF(A4=B5,"SAME","DIFFERENT") How do I prevent this from happening? -- shallina ------------------------------------------------------------------------ shallina's Profile: http://www.excelforum.com/member.php...o&userid=37723 View this thread: http://www.excelforum.com/showthread...hreadid=573136 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Inserting a cell changes my formula values
Try using absolute references:
$A$4=$B$4 The $ symbol prevents the reference from incrementing when cells are added/removed from the worksheet. HTH, Elkar "shallina" wrote: I have a formula thus: =IF(A4=B4,"SAME","DIFFERENT"). However, when I insert a cell above B4, the formula automatically changes, thus: =IF(A4=B5,"SAME","DIFFERENT") How do I prevent this from happening? -- shallina ------------------------------------------------------------------------ shallina's Profile: http://www.excelforum.com/member.php...o&userid=37723 View this thread: http://www.excelforum.com/showthread...hreadid=573136 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Inserting a cell changes my formula values
The absolute references will make no difference. Excel keeps track of where cells are which is a good thing in most cases. If you realy need it to stay at b4 you will have to write =IF(A4=indirect("B4"),"SAME","DIFFERENT") But I would not recommend it Regards Dav -- Dav ------------------------------------------------------------------------ Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107 View this thread: http://www.excelforum.com/showthread...hreadid=573136 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Match then lookup | Excel Worksheet Functions | |||
I Need a formula to evaluate a cell with + or - values | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
GET.CELL | Excel Worksheet Functions |