LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default macro to autofill formula?

Hi. I want to auto fill and insert values into a
formula? I have a spread sheet that is full of formatting
so dragging a new formula down is impractical. So I am
wanting a macro that can find a formula and insert a
certain set of numbers both in the beginning and at the
end. How do I do this? It would have to recognize that
each cell is different and adjust as it fills down the
selected range. Is it practical to do this? I have been
reading past posts and haven't found anything yet to help
me.

Example:

=IF(EF11=0,"",$C11*EF11)
=IF(EF12=0,"",$C12*EF12)


Becomes

=IF(EF11<"",IF(EF11=0,"",$C11*EF11),"")
=IF(EF12<"",IF(EF12=0,"",$C12*EF12),"")



Thanks,


Todd

 
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
HELP!!! I need macro to autofill Joe M. Excel Discussion (Misc queries) 4 February 10th 10 07:32 PM
Need Macro to autofill formula to last row with data Joe M. Excel Discussion (Misc queries) 4 January 22nd 10 07:54 PM
Autofill in macro orquidea Excel Discussion (Misc queries) 5 November 21st 07 11:20 PM
Autofill macro Mike G Excel Discussion (Misc queries) 6 April 21st 05 01:33 AM
autofill macro glee Excel Discussion (Misc queries) 1 February 14th 05 05:14 PM


All times are GMT +1. The time now is 07:39 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"