+ Reply to Thread
Results 1 to 5 of 5

I'm looking for a way to complete the formula in a cell by putting a value into it

  1. #1
    Registered User
    Join Date
    06-21-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    2

    Exclamation I'm looking for a way to complete the formula in a cell by putting a value into it

    I will try to explain better:

    Right now I'm doing a bunch of measurements at work. I am measuring cloth that will decrease in length as it is twisted. Now,I have a ruler next to the cloth, and its starting position is 8,25mm. Let's say that the cloth's position changes to 6,5mm according to the ruler (after being twisted). I'm looking for the difference in length, so in this case the formula in the cell would simply be:

    =8,25-6,5

    However, it gets tiresome to write this every time, and I was wondering if there is a way to have the "=8,25-" ready in the cell so to speak, and all I would then have to do is enter "6,5" into the cell to get the value I'm looking for!

    I hope I made sense, grateful for any help!

    Best regards,
    Erik from Sweden

  2. #2
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: I'm looking for a way to complete the formula in a cell by putting a value into it

    You can put both values in two cells, like 8,25 in A1 and 6,5 in A2.

    Then in B1, you write =A1-A2

    Then you can just change the value of the A2 cell

  3. #3
    Registered User
    Join Date
    06-21-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    2

    Re: I'm looking for a way to complete the formula in a cell by putting a value into it

    Thank you,

    Yes this is what I considered first. But I was thinking if there was a better solution that did not require using other cells as input data. The way I'm planning on doing it if I don't find any better option is to clone the sheet, and input all the values in the other sheet and then do as you said in the "main" sheet with the formula referring to cells in the clone.

  4. #4
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: I'm looking for a way to complete the formula in a cell by putting a value into it

    I don't really understand too much whatt you're trying to do, perhaps add some details on what would be your prefered input and output? You could also use VBA if you want to make a form or something appearing to let you input a value, since you seem to be worried about the presentation.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,958

    Re: I'm looking for a way to complete the formula in a cell by putting a value into it

    if A1 is absolute ($A$1) then need only enter it once

    B2=$A$1-A2

    copy down

+ 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. Putting A Formula in last Active Cell
    By SuperSi87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-30-2015, 11:48 AM
  2. Replies: 3
    Last Post: 04-30-2012, 01:36 PM
  3. Putting PI formula into a cell using macro
    By khoadphamm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2011, 12:44 PM
  4. Putting formula in cell with VBA
    By Josh_123456 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-31-2008, 02:24 PM
  5. [SOLVED] Putting Formula in Cell
    By bw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2005, 06:20 PM
  6. [SOLVED] Putting Formula in Cell
    By bw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2005, 06:17 PM
  7. putting value in a cell instead of the formula via vba
    By neowok in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2005, 09:15 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