+ Reply to Thread
Results 1 to 12 of 12

Formula and data entry in same cell

  1. #1
    Registered User
    Join Date
    03-23-2017
    Location
    India
    MS-Off Ver
    2011
    Posts
    4

    Lightbulb Formula and data entry in same cell

    Hi,

    Can anyone help me with this:

    I want to be able to have a formula for cell A1 which would be B1+constant and
    a formula for cell B1 which would be A1+constant

    both cells A1 and B1 must have the formulas but manual data input must be possible in them which means if I change A1, B1 changes and vice versa without the formula getting deleted.

    Also I want to extend this to row 1 to 5 in column A and B.

    Can anyone please help!

    Thanks

  2. #2
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: Formula and data entry in same cell

    Circular reference issue. Avoid doing such a thing. Use a helper cell.

  3. #3
    Registered User
    Join Date
    03-23-2017
    Location
    India
    MS-Off Ver
    2011
    Posts
    4

    Re: Formula and data entry in same cell

    Hi,

    Yes I understand, but is it not possible with VBA?

    Thanks

  4. #4
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: Formula and data entry in same cell

    Maybe possible but not a good idea. What are you trying to accomplish? Perhaps attach the file with some sample data.

  5. #5
    Registered User
    Join Date
    03-23-2017
    Location
    India
    MS-Off Ver
    2011
    Posts
    4

    Re: Formula and data entry in same cell

    Something like having two columns one with entry of weight in Kg and the other with entry in lbs and allowing the user to enter in any column and make the other column automatically update.

  6. #6
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: Formula and data entry in same cell

    You will need a data table for reference. Then use lookup or index/match to get your desired results.

  7. #7
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: Formula and data entry in same cell

    Select a blank cell next to your pounds data, and type this formula =CONVERT(A2,"lbm","kg") into it, and press Enter key, then drag the autofill handle down to the range cells you need.

    This is provided the weights are in column A for lbs.

  8. #8
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: Formula and data entry in same cell

    =CONVERT(1, "lbm", "kg")
    =CONVERT(1, "kg", "lbm")

  9. #9
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: Formula and data entry in same cell

    See this example:

    html errors sorry
    Last edited by LewisJ; 03-23-2017 at 03:01 PM.

  10. #10
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: Formula and data entry in same cell

    Sorry duplicate

  11. #11
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: Formula and data entry in same cell

    It would not let me post an html so here is the file example:

  12. #12
    Registered User
    Join Date
    03-23-2017
    Location
    India
    MS-Off Ver
    2011
    Posts
    4

    Re: Formula and data entry in same cell

    Thanks for your efforts, really appreciate it, but I am looking for something different.

    I want to have two column one for weight in pounds and the other for weight input in kgs and the user to be able to enter into anyone column (kg or pound) and the other column (kg or pound) to automatically update. A little complicated but am working with VBA on it.

+ 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. Can a cell contain a formula and be used for data entry?
    By mshaneweaver in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-11-2014, 04:03 PM
  2. Can I have a formula but allow data entry in same cell?
    By durallymax in forum Excel General
    Replies: 2
    Last Post: 02-16-2012, 01:05 PM
  3. Replies: 2
    Last Post: 08-30-2011, 03:40 PM
  4. Can I do this? cell data entry that returns a formula value
    By jasonr704 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-14-2006, 06:36 PM
  5. Replies: 7
    Last Post: 07-29-2006, 11:30 AM
  6. [SOLVED] Excel formula timestamp for a data entry of a referenced cell
    By jmasaki in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-02-2006, 09:25 PM
  7. [SOLVED] Formula and Data Entry in a Single Cell
    By Josh VM in forum Excel General
    Replies: 1
    Last Post: 10-21-2005, 05:05 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