+ Reply to Thread
Results 1 to 11 of 11

is there a formula that changes a specific cell to whatever I click on in that sheet.

  1. #1
    Registered User
    Join Date
    08-23-2011
    Location
    Bromont, Quebec
    MS-Off Ver
    Excel 2003
    Posts
    4

    is there a formula that changes a specific cell to whatever I click on in that sheet.

    I am trying to find a formula that makes a particular cell whatever I click on in the sheet. eg A1 would always equal whatever cell I click on in the sheet and change as I click different cells. Does this exist? This is not a joke post. I want to quickly calculate shipping charges. I have all the data in a sheet. So when I for example click on 10 pounds in zone 1 I go across and see $12.67, then I input that number in A1 and the rest is formulated to do the rest. I wondered if there was a formula that would change A1 to 12.67 automatically instead of me having to input it manually. Hope this clarifies and thanks for the tips. Sorry for the messy start.
    Last edited by decarabas; 08-31-2011 at 11:21 AM. Reason: someone told me to

  2. #2
    Registered User
    Join Date
    08-23-2011
    Location
    Bromont, Quebec
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: is there a formula that changes a specific cell to whatever I click on in that sh

    I'll take that as a no.

  3. #3
    Forum Contributor yay_excel's Avatar
    Join Date
    08-12-2011
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    190

    Re: is there a formula that changes a specific cell to whatever I click on in that sh

    If the active cell is the cell you want to change to whatever is clicked, press the = key and then click the cell you wish to change it to? I'm not sure I understand the question...

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: is there a formula that changes a specific cell to whatever I click on in that sh

    You could set up VBA code such that a double click will change the contents of a specific cell. There is no formula that will do this.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Registered User
    Join Date
    10-30-2003
    Location
    Dunstable, England
    MS-Off Ver
    2010
    Posts
    69

    Re: is there a formula that changes a specific cell to whatever I click on in that sh

    Could be you want to use a vlookup function. Attach the raw data it always gives a little clearer insight to want you want.

    Say you have a product called Product A which is £60.00 and it is being delivered to Zone 1, Zone 1 = £10.00 or possibly Zone 2 = £20.00, you want it fast so there is an additional charge and then you want to calculate that with a few other calculations, discounts etc??

    If you change it to Zone 2 it would automatically change the amount to £20.00

    Write the formula you want in words such as

    Product code x zone delivery - discount + post speed = total amount + vat = grand total.

    so figure wise it would be £60.00 plus £10.00 minus discount (say 5%) plus postal cost = subtotal. Subtotal times VAT = Grand Total.

    Is that along the lines you were making your enquiry?

    Have patience the people that help here are fanastic - I just do simple.

  6. #6
    Registered User
    Join Date
    08-23-2011
    Location
    Bromont, Quebec
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: is there a formula that changes a specific cell to whatever I click on in that sh

    Thanks for the feedback. I am attaching the sheet I am referring to. I will try to simplify the example as it's perhaps not totally clear yet. I want cell A5 to change to whatver value that I am currently clicking on. For example when I click on cell F16, which the value is 11.76, I want cell A5 to then automatically equal 11.76. When I click on cell H26, which is 13.65, I want A5 to then change to 13.65. I really hope this makes more sense. Or perhaps I am just asking too much and am super lazy.
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: is there a formula that changes a specific cell to whatever I click on in that sh

    Right click on the tab and "View code"
    Paste this into the text area
    Please Login or Register  to view this content.
    Close VBA editor (no need to save)
    Click and see. Is that what you are looking for?

  8. #8
    Registered User
    Join Date
    10-30-2003
    Location
    Dunstable, England
    MS-Off Ver
    2010
    Posts
    69

    Re: is there a formula that changes a specific cell to whatever I click on in that sh

    Wow ChemistB, well impressed with that....adding this to my memory bank. Decarabas, told you they were fanastic.

  9. #9
    Registered User
    Join Date
    08-23-2011
    Location
    Bromont, Quebec
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: is there a formula that changes a specific cell to whatever I click on in that sh

    OMG I love you! Not literally but damn near. Thanks ))

  10. #10
    Registered User
    Join Date
    10-20-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: is there a formula that changes a specific cell to whatever I click on in that sh

    Quote Originally Posted by ChemistB View Post
    Right click on the tab and "View code"
    Paste this into the text area
    Please Login or Register  to view this content.
    Close VBA editor (no need to save)
    Click and see. Is that what you are looking for?
    I wanted exactly the same thing. Thanks. Now... can you do it with a formula in cell A5 rather than using VBA?

  11. #11
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: is there a formula that changes a specific cell to whatever I click on in that sh

    Now... can you do it with a formula in cell A5 rather than using VBA?
    Click in a cell somewhere and hit the F9 button.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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