+ Reply to Thread
Results 1 to 5 of 5

check and replace $

  1. #1
    Forum Contributor
    Join Date
    03-31-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    140

    Question check and replace $

    How to check or replace all refer to address column are assigned (eg. data2, 4) in formula column E (formula1) make sure add with "$" (e.g. $B??, $D??)

    e.g.
    A B C D E
    data1 data2 data3 data4 formula1
    53.5 54.25 50.75 52.25 =SUM(B4:E4)/4
    47.9 47.9 44.4 45.1 =(B5+E5)/2
    45.5 45.5 39 41.9 =E6
    43.1 43.5 40.8 41.8 =(C7+D7+E7)/3
    45.5 47.2 45 47 =E8/2+B8/2
    48.4 49.6 47.5 48.3 =B9
    ... ... ... ... =various
    etc.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: check and replace $

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Forum Contributor
    Join Date
    03-31-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    140

    Re: check and replace $

    Hi, patel45, thanks for your reference, but I want apply to column B & E only [i.e. address(ColumnAbsolute:=False)] not for all and rows, how to do it? thanks

    Quote Originally Posted by patel45 View Post
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    03-31-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    140

    Re: check and replace $

    I only change the code [ToAbsolute:=xlAbsolute] to [ToAbsolute:=xlRelRowAbsColumn] for all column, but I have not ideal how to set required column(s)??

  5. #5
    Forum Contributor
    Join Date
    03-31-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    140

    Re: check and replace $

    Quote Originally Posted by alee001 View Post
    I only change the code [ToAbsolute:=xlAbsolute] to [ToAbsolute:=xlRelRowAbsColumn] for all column, but I have not ideal how to set required column(s)??
    Finally, I solved the problem about absolute required column(s) by following code:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1