Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need Formula to "Adjust" to New Column Assignment
Within the same workbook, I have 3 worksheets: Control, Upload, and Audit.
Upload J2 = 500 Control J2 = 200 Currently, I have the following formula in the Audit worksheet: =IF((upload!J2-control!J2=0)," ",(upload!J2-control!J2) So, Audit J2 = 300. I then need to insert a column in all three worksheets between I and J. So the values that were formerly in Column J are now in Column K. Upload K2 value = 500 Control K2 value = 200 But the formula in Audit K2 still references J, so it's not showing 300. I need the formula that is now in Column K to be: =IF((upload!K2-control!K2=0)," ",(upload!K2-control!K2) Is there a way to make the formulas adjust automatically when a column is inserted or deleted? Please help! Thanks Beth |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need Formula to "Adjust" to New Column Assignment
I am unable to duplicate your problem but your formula isn't correct.
=IF((upload!K2-control!K2=0)," ",(upload!K2-control!K2) Correcting the formula to: =IF(Upload!J2-Control!J2=0,"",Upload!J2-Control!J2) Using that corrected formula, when I insert new columns on the sheets the formula automatically changes to: =IF(Upload!K2-Control!K2=0,"",Upload!K2-Control!K2) -- Biff Microsoft Excel MVP "bethe" wrote in message ... Within the same workbook, I have 3 worksheets: Control, Upload, and Audit. Upload J2 = 500 Control J2 = 200 Currently, I have the following formula in the Audit worksheet: =IF((upload!J2-control!J2=0)," ",(upload!J2-control!J2) So, Audit J2 = 300. I then need to insert a column in all three worksheets between I and J. So the values that were formerly in Column J are now in Column K. Upload K2 value = 500 Control K2 value = 200 But the formula in Audit K2 still references J, so it's not showing 300. I need the formula that is now in Column K to be: =IF((upload!K2-control!K2=0)," ",(upload!K2-control!K2) Is there a way to make the formulas adjust automatically when a column is inserted or deleted? Please help! Thanks Beth |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need Formula to "Adjust" to New Column Assignment
Thanks for your reply, but isn't working in my situation.
It works when I insert a column in Control, then insert the same column into Upload, then insert the same column into Audit. However, I am inserting data into Upload and Control that already has additional columns. Then I need to adjust the Audit sheet to match the columns in Upload and Control, so then I need to insert. This formula does not automatically adjust in the above situation. "T. Valko" wrote: I am unable to duplicate your problem but your formula isn't correct. =IF((upload!K2-control!K2=0)," ",(upload!K2-control!K2) Correcting the formula to: =IF(Upload!J2-Control!J2=0,"",Upload!J2-Control!J2) Using that corrected formula, when I insert new columns on the sheets the formula automatically changes to: =IF(Upload!K2-Control!K2=0,"",Upload!K2-Control!K2) -- Biff Microsoft Excel MVP "bethe" wrote in message ... Within the same workbook, I have 3 worksheets: Control, Upload, and Audit. Upload J2 = 500 Control J2 = 200 Currently, I have the following formula in the Audit worksheet: =IF((upload!J2-control!J2=0)," ",(upload!J2-control!J2) So, Audit J2 = 300. I then need to insert a column in all three worksheets between I and J. So the values that were formerly in Column J are now in Column K. Upload K2 value = 500 Control K2 value = 200 But the formula in Audit K2 still references J, so it's not showing 300. I need the formula that is now in Column K to be: =IF((upload!K2-control!K2=0)," ",(upload!K2-control!K2) Is there a way to make the formulas adjust automatically when a column is inserted or deleted? Please help! Thanks Beth . |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need Formula to "Adjust" to New Column Assignment
I'm with T. Valko, bethe; when I put values in Control!J2 and Upload!J2 and
=IF(Upload!K2-Control!K2=0," ",Upload!K2-Control!K2) in Audit!J2, then insert a new column in all three worksheets, the formula changes correctly. I'm using Excel 2003; what's your version? --- "bethe" wrote: Within the same workbook, I have 3 worksheets: Control, Upload, and Audit. Upload J2 = 500 Control J2 = 200 Currently, I have the following formula in the Audit worksheet: =IF((upload!J2-control!J2=0)," ",(upload!J2-control!J2) So, Audit J2 = 300. I then need to insert a column in all three worksheets between I and J. So the values that were formerly in Column J are now in Column K. Upload K2 value = 500 Control K2 value = 200 But the formula in Audit K2 still references J, so it's not showing 300. I need the formula that is now in Column K to be: =IF((upload!K2-control!K2=0)," ",(upload!K2-control!K2) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Movable "slider" to adjust a range with the mouse? | Excel Discussion (Misc queries) | |||
Chg 1 "Last, First Mid" column to 3 "First", "Middle", "Last" colu | Excel Discussion (Misc queries) | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
How do I change the column heading in Excel to display "A" "B" "C | New Users to Excel | |||
Need excel formula for "if A1<0 adjust A2" | Excel Discussion (Misc queries) |