Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How can I join two formulas?

Hi,
There are many different formulas in one of my columns (C). I want to add
"+F" to all of the formulas. For example:
...
"+F12" to be placed at the end of the formula of C12
"+F13" to be placed at the end of the formula of C13
...
Any suggestion how to do it? (I hope my question is clear.)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 913
Default How can I join two formulas?

On Sun, 10 Aug 2008 03:00:00 -0700, Little Researcher
wrote:

Hi,
There are many different formulas in one of my columns (C). I want to add
"+F" to all of the formulas. For example:
...
"+F12" to be placed at the end of the formula of C12
"+F13" to be placed at the end of the formula of C13
...
Any suggestion how to do it? (I hope my question is clear.)



Try this macro to change the first 1000 rows in column C

Sub change_formula()
Dim c As Range
For Each c In Range("C1:C1000")
If c.HasFormula Then
c.Formula = c.Formula & "+F" & c.Row
End If
Next c
End Sub

If you are not familiar on how to create a macro you can find some
instructionunder "Create a macro using Microsoft Visual Basic" here
http://office.microsoft.com/en-us/ex...047111033.aspx


Hope this helps / Lars-Åke
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
Join tables like inner join in Access ryanp Excel Discussion (Misc queries) 2 July 18th 08 03:35 PM
Text join formulas working but act as straight text when modified akkrug New Users to Excel 3 May 14th 08 02:27 PM
Join text Robert57 Excel Discussion (Misc queries) 7 December 22nd 05 03:14 PM
join two spreadsheets Raya Excel Discussion (Misc queries) 1 July 14th 05 02:13 PM
join 2 spreadsheets Raya Excel Discussion (Misc queries) 2 July 13th 05 11:16 AM


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