+ Reply to Thread
Results 1 to 8 of 8

Fill cell with test based on another cells numeric value

  1. #1
    Registered User
    Join Date
    07-01-2018
    Location
    Houston, TX.
    MS-Off Ver
    Office 365
    Posts
    93

    Post Fill cell with test based on another cells numeric value

    I have multiple sheets that are all the same in a workbook - 13 in all, I am needing to fill cell B51 sheet2 with text from B51 sheet1 based on if a dollar value cell R51 sheet 2 is > 0, if dollar value = o then leave/make B51 sheet2 blank or empty

    this will be the same for the next 12 worksheets, example:
    B51 sheet3 with text from B51 sheet2 based on if a dollar value cell R51 sheet3 is > 0, if dollar value = 0 then leave/make B51 sheet3 blank or empty


    Thank you in advance

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: Fill cell with test based on another cells numeric value

    Hi, welcome to he forum

    1st, I would ask why you have 13 sheets? Do they all contain data?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-01-2018
    Location
    Houston, TX.
    MS-Off Ver
    Office 365
    Posts
    93

    Re: Fill cell with test based on another cells numeric value

    12 sheets are month sheets + 1 sheet for additional data.
    the 1st. sheet is populated for what is current data and throughout the year the value of a certain cell(R51) will become 0, when that happens I no longer want the previous months text brought forward.

    Also, about 10 rows in all, I figure I can use the solution for all rows just change the Row identifier.
    Last edited by dad812; 07-01-2018 at 08:11 PM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: Fill cell with test based on another cells numeric value

    It is the generally accepted method to have all data on 1 sheet, then run extracts, summaries etc from that.

    There is no "easy" way to copy a formula in sheet1 that references, say, sheet2, to sheet2 and have it change to reference sheet3 now.

    Can I suggest that you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

  5. #5
    Registered User
    Join Date
    07-01-2018
    Location
    Houston, TX.
    MS-Off Ver
    Office 365
    Posts
    93

    Re: Fill cell with test based on another cells numeric value

    I will be able to upload a sample tonight or tomorrow. thanks

  6. #6
    Registered User
    Join Date
    07-01-2018
    Location
    Houston, TX.
    MS-Off Ver
    Office 365
    Posts
    93

    Re: Fill cell with test based on another cells numeric value

    example part is located on bottom of sheet
    Attached Files Attached Files

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: Fill cell with test based on another cells numeric value

    If you add a date to each entry, you could still have everything on 1 sheet, and that will make summaries far simpler

  8. #8
    Registered User
    Join Date
    07-01-2018
    Location
    Houston, TX.
    MS-Off Ver
    Office 365
    Posts
    93

    Re: Fill cell with test based on another cells numeric value

    Thanks for your help, I believe this can be accomplished using VBA keeping the same workbook structure. I will close and repost.

+ 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. Copy and fill down a numeric+text value but dont change numeric value
    By HaroonSid in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-15-2017, 02:34 PM
  2. Fill out different cells based on value in one cell
    By liksone in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-02-2016, 11:10 AM
  3. Fill Cells based on another cell value
    By Blokeman in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-03-2014, 08:19 AM
  4. Replies: 3
    Last Post: 08-21-2013, 07:10 PM
  5. [SOLVED] Test if a cell is within a name range and return a text value based on the test
    By DraconR in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-24-2013, 02:46 AM
  6. Test Cells if they are numeric
    By GBR2L in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-10-2010, 06:42 AM
  7. Adding Cells based off a set numeric value from another cell
    By mremptywallet in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-12-2009, 03:07 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