+ Reply to Thread
Results 1 to 9 of 9

Automatically convert the formula as value & keep remains the formula in blank cells

  1. #1
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Automatically convert the formula as value & keep remains the formula in blank cells

    Dear Forum Members,

    I would like to get your support to solve my problem here. I have a master register, which contains more than 100 column and 30000 rows. Among the 100 column nearly 5 column has been applied ARRAY formula for automation returns. Hence, my excel workbook getting very slow to open, do data entry and to save the file.

    My requirement is :

    1. Is there any possibilities to automatically convert the formula as value till the data entry applied. Form example, i have 30000 rows in a column with formula. The last entry was in 2200 th row. Now, the formula should automatically convert the returns as value till 2200 row and remaining rows should have the formula.

    Or else is there any other suggestions also highly appreciated.

    Thanks in advance

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: Automatically convert the formula as value & keep remains the formula in blank cells

    You make this more efficient by the use of struxctured data tables and named ranges. that way, you would only need as may rows as you have data.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Automatically convert the formula as value & keep remains the formula in blank cells

    Dear Mr. Glenn,

    Yes, the data set has maximum of A: CI (column) and A1: A5005 (Rows). Kindly help me on this.

    Thanks in advance

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: Automatically convert the formula as value & keep remains the formula in blank cells

    I can't do much without a sheet!!

  5. #5
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Automatically convert the formula as value & keep remains the formula in blank cells

    Dear Mr. Glenn,

    As you suggested, I have attached dataset template for your kind reference and support.

    If you enter Date of Reach (Column B) and Name of TCM (Column C) automatically result will come in Column H and L (Which has been highlighted in yellow color. I have used helper for that in Column CX.

    Since file has gone upto 1.97 KB, i have setup the database upto 100 rows only.

    Kindly do the needful.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Automatically convert the formula as value & keep remains the formula in blank cells

    First of all you don't need any array formula on column L. You can use this simple formula for that :
    Please Login or Register  to view this content.
    Also you can avoid helper column by using this formula on Column H :
    Please Login or Register  to view this content.
    I have tested this change in your attached file with 6000 rows. It's not making slow.

  7. #7
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Automatically convert the formula as value & keep remains the formula in blank cells

    But if you are interested to remove those formulas automatically then you need to use a Change Event. Right click on the tab name and select View code. Now paste this code there :
    Please Login or Register  to view this content.
    Now save your file with a macro enabled format (ex. .xlsm or .xls). Now you will get the calculated answer every time if you enter any value in Column B or Column C. But if any of them is blank then the answer will be blank also.

  8. #8
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Automatically convert the formula as value & keep remains the formula in blank cells

    Dear Mr. Sanram,

    First of all, my expression was wow... excellent ... I have applied it in my master data set. But i have two clarification. I have attached the model data entry data set for your kind reference.

    1. Row 9 - I had entered as "Ram", since Ram has been entered in the Row 3, immediately it show "Repeat" and Unique ID number. But after that, i found This Row 9 "RAM" is different, Hence i went back and add the initial for him. But no changes was happen in H and L column.

    2. I have applied a formula in Column M to generate Family ID. based on the name match with C and V. Could you please see on Row 10, Since Rajan name is not entered in C column, M column shows #NA error.

    Kindly guide and help me on this.
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Automatically convert the formula as value & keep remains the formula in blank cells

    Which solution you have used? Formula or Macro?

+ 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] Which formula to use if value <1 then 1, and if value>1 then the result remains the same.
    By thenewguyhere in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-10-2016, 03:22 AM
  2. [SOLVED] Convert formula shows 0 and want it to show blank
    By JG23 in forum Excel General
    Replies: 10
    Last Post: 06-22-2012, 12:41 PM
  3. I want a formula cell to be blank if cells computing formula are blank
    By asawyer3 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2011, 05:24 PM
  4. Altering formula to convert zero values to blank
    By Jetlantic in forum Excel General
    Replies: 4
    Last Post: 10-20-2010, 03:21 PM
  5. Copying formula across columns where row sumber remains static
    By Boombatz167 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-24-2008, 04:32 PM
  6. [SOLVED] Automatically add "0" to blank cells without a formula in the cel.
    By LuLu in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-09-2006, 10:20 AM
  7. [SOLVED] Valid formula remains in cell
    By Wally in forum Excel General
    Replies: 2
    Last Post: 09-10-2005, 05:05 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