+ Reply to Thread
Results 1 to 5 of 5

Update line if a cell has specific value

  1. #1
    Registered User
    Join Date
    03-14-2017
    Location
    Iceland
    MS-Off Ver
    2016
    Posts
    16

    Update line if a cell has specific value

    Hi
    I have a large sheet of data and some of the lines are corrupted, that is some of them are the right values multiplied by x2,x3 and so on.
    I want to be able to update the value of the corrupted lines, for example if cell c5 is equal to 10, but should be equal to 5, i want to divide all the cells in line 5 by 2.
    Is there any way i can do this to a whole table?

  2. #2
    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
    28,363

    Re: Update line if a cell has specific value

    Post a file showing/explaining what you require: how are corrupt lines identified?

    Attach a sample workbook.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    03-14-2017
    Location
    Iceland
    MS-Off Ver
    2016
    Posts
    16

    Re: Update line if a cell has specific value

    Like you can see on the picture, lines 4 and 5 are just right but lines 3 and 7 are the original values multiplied by *2 and line 6 multiplied by *4.
    What i want to do is to update lines 3,7 by divideing them by /2 and line 6 by /4
    Best regards
    Hlynur
    Capture1.PNG
    Last edited by hlynur11; 03-16-2017 at 08:31 AM.

  4. #4
    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
    28,363

    Re: Update line if a cell has specific value

    There is no picture and what is required is a file/workbook not image.

  5. #5
    Registered User
    Join Date
    03-14-2017
    Location
    Iceland
    MS-Off Ver
    2016
    Posts
    16

    Re: Update line if a cell has specific value

    It works now

+ 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. Replies: 3
    Last Post: 03-12-2017, 03:39 PM
  2. Update date Specific cell by use Specific Month
    By Nisar.mohammed in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-27-2014, 11:26 AM
  3. Cell update at a specific time
    By Lipocky in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-01-2013, 03:19 PM
  4. Macro to copy specific line from text file and paste into specific cell in excel
    By keeneye in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2013, 10:35 AM
  5. Replies: 2
    Last Post: 02-01-2013, 02:53 AM
  6. Update cell at specific day
    By Marco-Kun in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-09-2010, 03:54 PM
  7. Auto update of date in a specific cell?
    By spavined in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-07-2009, 01:52 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