Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 493
Default Auto-update column formula

I have a simple formula as follows
A B C
1 100 200
2
3 4 5 (4*100)+(5*200)

I have a macro that can insert any number of desired columns but i need the
formula in column C to update and include the new inserted columns. I would
then need to paste this all the way down column C (but only in certain cells).

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Auto-update column formula

Why not use the formula:
=SUMPRODUCT(A$1:B$1,A2:B2)

Then, if you insert columns between A and B, the formula will automatically
expand?
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Alex" wrote:

I have a simple formula as follows
A B C
1 100 200
2
3 4 5 (4*100)+(5*200)

I have a macro that can insert any number of desired columns but i need the
formula in column C to update and include the new inserted columns. I would
then need to paste this all the way down column C (but only in certain cells).

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
Auto-update Fill Series in column that has randomly spaced blank c Khind Excel Discussion (Misc queries) 3 February 5th 10 06:00 PM
Same Column on Two Sheets (Auto-update / match)? sarah Excel Discussion (Misc queries) 4 February 18th 09 05:00 PM
Auto update helper column tommcbrny Excel Discussion (Misc queries) 1 November 7th 08 03:49 AM
A formula to auto-update a classification ONLY if it goes UP thorshammer Excel Worksheet Functions 3 August 12th 08 03:06 PM
HOW DO I GET COLUMN TOTALS TO AUTO UPDATE? SBL New Users to Excel 2 August 27th 07 09:32 PM


All times are GMT +1. The time now is 04:02 PM.

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

About Us

"It's about Microsoft Excel"