+ Reply to Thread
Results 1 to 11 of 11

How to replace all F references to F1

  1. #1
    Registered User
    Join Date
    12-30-2015
    Location
    england
    MS-Off Ver
    2010
    Posts
    74

    How to replace all F references to F1

    i wrote following formula =IF(AND(WEEKDAY(F1)>1,WEEKDAY(F1)<7),IF(AND(F1>=C10,F1<=D10),B10,""),"") and copied the formula from F10 to F18 . So all F references changed from F1 to F9. I want to replace all F references with F1 in each formula . Is there a way that I can do that without changing each formula individually. Many thanks for any advice.
    Note: Once I changed cell reference to F1 I need to copy the formula across the rows so only F1 changes on cells on same rwo keeping all the other dell references constant
    Attached Files Attached Files
    Last edited by bananacitizen; 05-20-2023 at 06:42 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,806

    Re: How to replace all F references to F1

    If you always want all formulas to refer to F1, then change the reference in the formula in F10 to be F$1 and then copy and paste it wherever you want it.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    12-30-2015
    Location
    england
    MS-Off Ver
    2010
    Posts
    74

    Re: How to replace all F references to F1

    Thanks for the suggestion. I actually did that. But it is time consuming if I have to paste on to 100 of cells. Just want to know whether there is a find and replace method or similar? Tried with a wild card but didnt work

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,656

    Re: How to replace all F references to F1

    If you change the F1's in the formula in F10 to F$1. Just double click the fill handle at the lower right corner of F10...
    Ben Van Johnson

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,806

    Re: How to replace all F references to F1

    The formula in your post does not exist in the file you attached. I am unclear as to what the destination is for this formula. There might be a find & replace solution but I can't tell without more detail.

  6. #6
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: How to replace all F references to F1

    change your formula in F10 into

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    you can copy down and to the right all you want it will always gonna do a date compare to row 1 an col C and D and give value from col B when within timeframe.

    I think you can replicate the same into the weekday part of your formula. (which is not in the file like already mentioned by 6StringJazzer
    )
    Last edited by Roel Jongman; 05-20-2023 at 06:29 PM.

  7. #7
    Registered User
    Join Date
    12-30-2015
    Location
    england
    MS-Off Ver
    2010
    Posts
    74

    Re: How to replace all F references to F1

    Sorry not sure what happened. I re-attached again

  8. #8
    Registered User
    Join Date
    12-30-2015
    Location
    england
    MS-Off Ver
    2010
    Posts
    74

    Re: How to replace all F references to F1

    Thanks lot it worked. So simple. By the way is there anyway I can fix cell references in one operation for B,C,D from F10 to F18?

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,140

    Re: How to replace all F references to F1

    If there are no other 10s in the formula other than the cell references, have you tried Find & Replace?

    Find: 10
    Replace: 18
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  10. #10
    Registered User
    Join Date
    12-30-2015
    Location
    england
    MS-Off Ver
    2010
    Posts
    74

    Re: How to replace all F references to F1

    yes I tries, Cell reference B, C , D changes from B10 -B18 So find and replace doesnt work

  11. #11
    Registered User
    Join Date
    12-30-2015
    Location
    england
    MS-Off Ver
    2010
    Posts
    74

    Re: How to replace all F references to F1

    Awesome, Solved the problem taking into account all your responses. Grateful to all of you tried to help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 11-26-2020, 04:31 PM
  2. Replies: 0
    Last Post: 11-26-2020, 04:27 PM
  3. Replace Cell References
    By JayKing in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-07-2018, 10:42 AM
  4. Find/Replace with references
    By DFrank231 in forum Excel General
    Replies: 2
    Last Post: 08-16-2012, 04:47 PM
  5. RE: replace absolute references
    By bj in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-20-2005, 03:06 PM
  6. replace absolute references
    By BorisS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-20-2005, 03:06 PM
  7. cannot find any references to replace
    By Kelli in forum Excel General
    Replies: 4
    Last Post: 02-09-2005, 08:23 PM

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