Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 257
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Movable "slider" to adjust a range with the mouse? rwhtx Excel Discussion (Misc queries) 4 January 7th 09 01:33 PM
Chg 1 "Last, First Mid" column to 3 "First", "Middle", "Last" colu JBird11002 Excel Discussion (Misc queries) 4 August 15th 08 06:31 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
How do I change the column heading in Excel to display "A" "B" "C Thai New Users to Excel 1 November 30th 07 08:06 PM
Need excel formula for "if A1<0 adjust A2" RDW Excel Discussion (Misc queries) 4 April 21st 06 08:59 PM


All times are GMT +1. The time now is 03:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"