View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bethe bethe is offline
external usenet poster
 
Posts: 3
Default 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