+ Reply to Thread
Results 1 to 7 of 7

Quick & dirtyway to input/convert cell referances in formula where the ref is made/used

  1. #1
    Forum Contributor dlow's Avatar
    Join Date
    08-12-2013
    Location
    EveryWhere
    MS-Off Ver
    Excel 2007, 2010
    Posts
    275

    Unhappy Quick & dirtyway to input/convert cell referances in formula where the ref is made/used

    Hi,

    Just throwing it out there, I thought that there was an easy way to convert a cell ref to its unevaluated value in the formula its being used in. Just asking cause I have about 30 monster formulas with cell referances that I need to change they look like this right now:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    As always any help is appreciated & TIA

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,800

    Re: Quick & dirtyway to input/convert cell referances in formula where the ref is made/use

    So you want to change AI3, and AJ3 and AK3 (etc.)? To some other column references, or change the row references? Or something else? Please be more explicit.

    Pete

  3. #3
    Forum Contributor dlow's Avatar
    Join Date
    08-12-2013
    Location
    EveryWhere
    MS-Off Ver
    Excel 2007, 2010
    Posts
    275

    Re: Quick & dirtyway to input/convert cell referances in formula where the ref is made/use

    The above formula looks like this with all the values from the referanced cells data in it.

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


    I thought; & I could be mistaken, that we could highlight a cell ref & use some keyboard shortcut to convert the ref to values in the formula. I am probably confused, but throwing it out there none the less

    Thx Pete

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,800

    Re: Quick & dirtyway to input/convert cell referances in formula where the ref is made/use

    I don't know of any keyboard shortcut that will do that for you.

    Pete

  5. #5
    Forum Contributor dlow's Avatar
    Join Date
    08-12-2013
    Location
    EveryWhere
    MS-Off Ver
    Excel 2007, 2010
    Posts
    275

    Re: Quick & dirtyway to input/convert cell referances in formula where the ref is made/use

    Please be more explicit

    ok, cell A1 has a formula in it 2+2, well I use cell A1 as a ref in another cell: B1
    & I also used about 9 other cell refs in B1. So now that I am happy with everything I want to destroy the refs & replace the unevaluated data, so for my example it would be replacing A1 with its contents 2+2 & so on.

    sorry for the confusion, & thx again

  6. #6
    Forum Contributor dlow's Avatar
    Join Date
    08-12-2013
    Location
    EveryWhere
    MS-Off Ver
    Excel 2007, 2010
    Posts
    275

    Re: Quick & dirtyway to input/convert cell referances in formula where the ref is made/use

    haha yeah, you must have posted while I was writting the above, ok thx I guess Ill just VBA it.

  7. #7
    Forum Contributor dlow's Avatar
    Join Date
    08-12-2013
    Location
    EveryWhere
    MS-Off Ver
    Excel 2007, 2010
    Posts
    275

    Re: Quick & dirtyway to input/convert cell referances in formula where the ref is made/use

    Create a Module & smack this little diddy in there.
    Please Login or Register  to view this content.
    Then you can do something like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    from whatever cell & the result will look something like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Trim the fat with this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Result is perfection mixed with sugar & spice & everything nice.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Top that off with a little concatenation statement & now everything updates in realtime. No worries. :D

    Where I found the info & more info on GetFormula

    Marking this off as Solved, but if you have a better way then please by all means do share.
    Last edited by dlow; 10-23-2014 at 01:58 AM.

+ 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. [SOLVED] Quick Query regarding basic formula regarding counting from a row with drop down input
    By craigie65 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-01-2014, 09:07 AM
  2. [SOLVED] Retain Formula when Input is made
    By drakaz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2013, 10:03 AM
  3. Adding a Calendar for quick cell input
    By ImagineParidise in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-15-2012, 03:23 AM
  4. Replies: 3
    Last Post: 06-18-2009, 10:19 AM
  5. unknown cell referances in a macro
    By hwagner in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-20-2007, 08:19 AM

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