+ Reply to Thread
Results 1 to 8 of 8

Clear formula results in adjacent cells when new entry in first cell

  1. #1
    Registered User
    Join Date
    06-04-2022
    Location
    Birminham, England
    MS-Off Ver
    2205
    Posts
    3

    Clear formula results in adjacent cells when new entry in first cell

    Hi

    I wish to clear linked formula results, for example in cells B, C, D, E, F2 when there is a new entry in cell A2

    When a new name is entered into cell A2, I want to clear all results from the adjacent cells
    Attached Files Attached Files
    Last edited by SJTBrown; 06-04-2022 at 08:58 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,167

    Re: Clear formula results in adjacent cells when new entry in first cell

    what are the formulas?

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    36,321

    Re: Clear formula results in adjacent cells when new entry in first cell

    You probably need VBA for this.
    Trevor Shuttleworth - Excel Aid

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,648

    Re: Clear formula results in adjacent cells when new entry in first cell

    Administrative Note:

    Welcome to the forum.

    Members will tailor the solutions they offer to the version (NOT a release number like 2205) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

  5. #5
    Registered User
    Join Date
    06-04-2022
    Location
    Birminham, England
    MS-Off Ver
    2205
    Posts
    3

    Re: Clear formula results in adjacent cells when new entry in first cell

    Hi Dave

    there are 2 linked formula, first is to calculate the time difference in minutes and hours between 2 cells, then the results of that are linked to a nested If formula to calculate a price base on minutes and hours

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,648

    Re: Clear formula results in adjacent cells when new entry in first cell

    Please update your profile as I requested. Thanks.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

  7. #7
    Registered User
    Join Date
    06-04-2022
    Location
    Birminham, England
    MS-Off Ver
    2205
    Posts
    3

    Re: Clear formula results in adjacent cells when new entry in first cell

    Thank you all for your help

    I eventually sorted the issue, I created a VBA to clear cells in a row, and attached it to a specific cell so that when any change happened in that cell in ran the macros


  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,648

    Re: Clear formula results in adjacent cells when new entry in first cell

    Please don't ignore the request to update your profile!!!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Clear cell contents based on adjacent cell entry
    By Nigel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-10-2018, 05:37 AM
  2. VBA to Clear 1 Cell and Clear other cells Formula only
    By oneblondebrow in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-17-2017, 12:56 PM
  3. [SOLVED] Clear cells if adjacent cell contains certain text from a direct link
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-01-2016, 12:23 PM
  4. Clear cells upon adjacent cell change
    By jwstimac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-12-2013, 01:02 PM
  5. Replies: 4
    Last Post: 09-27-2011, 04:16 AM
  6. Macro to find bold cells then clear adjacent cell
    By painterartist in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-26-2011, 04:47 PM
  7. Replies: 15
    Last Post: 07-23-2008, 06:59 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