+ Reply to Thread
Results 1 to 6 of 6

Updated data not being affected by formula

  1. #1
    Registered User
    Join Date
    06-26-2015
    Location
    St.Paul, Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    37

    Updated data not being affected by formula

    Hi, I hope this is fairly easy to follow.
    I've got an INDEX-ROW formula that searches through a sheet of data to match for a company name, lets say in sheet 2 column 1. Once a match is found in sheet 2 column 1 (often several matches for the same company repeated with new data) the formula copies the data for that match. The copied data from all the matches in sheet 2 column 1 are placed into a new sheet, sheet 1 Column 3. The sheet of data is updated every month. However I'm finding an issue when updating my data. The existing company names are working properly, meaning the NEW monthly data for existing companies is being returned properly as I update. However, any NEW companies that are added to the sheet, when I search for that company through the formula, it isn't returning any data, as if it's not finding any matches.

    Also, all of the data for the sheet is copied and pasted in. For some reason, although the NEW companies are not returning data when they are pasted in, if I delete the NEW company name, and re-type it exactly the same, it then returns the data properly.

    Any ideas? Here is my formula:
    Please Login or Register  to view this content.
    Last edited by murp5972; 08-03-2015 at 04:04 PM.

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Updated data not being affected by formula

    There must be some difference between what is copied in and what is typed in. Possibly a leading or trailing space?
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

  3. #3
    Registered User
    Join Date
    06-26-2015
    Location
    St.Paul, Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Updated data not being affected by formula

    It appears that is the issue, there are extra spaces in certain cells. Previously I was simply doing CTRL+A and pasting. Is there a way I can easily copy all of my data but to have it be trimmed of any extra spaces throughout my data? Thanks!

    Edit: It only works when I double click into the cell and highlight just the text, with no extra spaces before and after, and paste with text only. I cannot just click the cell and copy paste values only, that doesn't seem to get the match properly. Obviously I dont want to go through all my cells this way, so if there's a way i can simply just copy the text in all cells with no spaces, that would do the trick I'm guessing.

    Thanks!
    Last edited by murp5972; 08-04-2015 at 01:59 PM.

  4. #4
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Updated data not being affected by formula

    You could use the TRIM function in an adjacent column, then Copy - Paste Special (Values) the results back over the original.

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Updated data not being affected by formula

    If there are not supposed to be any spaces in your data, then you can simply do a find and replace on that column. I suppose that would be too easy?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Registered User
    Join Date
    06-26-2015
    Location
    St.Paul, Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Updated data not being affected by formula

    This seems to do the trick! Although its another step, do you think this is the easiest solution? Thanks again!

+ 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. Formula's affected by external data refresh in excel 2011 Mac
    By walshyrigger in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-28-2015, 01:26 PM
  2. Vlookup Formula needs to be updated in different worksheets till lastcolumn which has data
    By ankamshetti.nagaraj in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-14-2014, 09:25 AM
  3. formula when data updated, to automtically insert a new line
    By Tracie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-06-2013, 03:11 PM
  4. Formula to enter data/change the colour of a cell if a file isn't updated
    By alexander.small in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-01-2013, 06:41 AM
  5. Previous Data formula in ONE Data block that will carry each time sheet is updated
    By imagrits101 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-29-2013, 12:14 AM
  6. Formula that will be affected by data filtering
    By assaf.tom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2008, 08:04 AM
  7. Replies: 3
    Last Post: 04-11-2006, 09:30 AM

Tags for this Thread

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