+ Reply to Thread
Results 1 to 12 of 12

Not returning correct values in all cells

  1. #1
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Not returning correct values in all cells

    Hi,
    If someone could look at this immediately please, donno if its a silly mistake
    in sheet "HMC_Facility_wise_PR_PO.." i have taken data from row L to combine with d to have a combination shown in E
    Now in sheet "raw prpo report" i want to find this data in row A and if found that match should write in sheet "HMC_Facility_wise_PR_PO.." in column F else return with "Not found" but something strange some values not matching
    one example is row 28 in sheet"HMC_Facility_wise_PR _PO.." value 1691662-01 is there in sheet "raw prpo report" but still in column f showing as not found whereas it should display value(1691662-01), could you throw light please


    Thanks
    mp
    Attached Files Attached Files
    Last edited by maximpinto; 02-19-2015 at 01:53 AM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Not returning correct values in all cells

    A2=SUBSTITUTE(SUBSTITUTE(B2&"-"&TEXT(I2,"00"),"*",""),"‬","")
    Try this in "Raw PRPO report" Sheet
    and copy towards down - there are some special characters are there in column A
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Not returning correct values in all cells

    Hi Siva,
    Thanks,
    But i did as you said and if check now in sheet "hmc_facility_wise..." i dont see the value reflecting, example row 1215 in "Raw PRPo.." sheet has 1691662-01 and the same is there in "hmc_facility_wise_PR.." sheet in row 28 so, F28 should be the value but it still says "not found"
    Any help
    Thanks
    Mp

  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 2406
    Posts
    44,662

    Re: Not returning correct values in all cells

    Your problem is that there are some non printing characters in these cells. They need to be removed. They evaluate to Char 63 - which corresponds to a ? mark. Clearly that isn't present in these cells. I'm nowhere near a PC right now and can't intuitively reach a solution. Others with PC access should be able to fix this.
    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

  5. #5
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Not returning correct values in all cells

    Hi Glenn ,
    Tried the clean function and then tried doing a vlook up, no luck
    Thanks, mp

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

    Re: Not returning correct values in all cells

    I tried clean and (I think) substitute for all the NP characters and it didn't fix it for me. If I removed the first and last characters of each string, using a combination of -- LEFT and MID, i started ti get somewhere; but i had to leave my PC.

  7. #7
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Not returning correct values in all cells

    No worries, if you get back to your PC later could you please let me know problem please,
    thanks
    mp

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

    Re: Not returning correct values in all cells

    Your data, especially column D of the sheet PO received looks like it has been subjected to much experimentation by yourself, making a messy situation even messier. Can you go back to your source data and repost a MUCH smaller virgin data set. Remove unnecessay sheets.

    In that colun, you have a random mixture of real numbers, text that looks like a number and text bracketed by non-printing characters. I guarantee that a virgin set of data will have only one of these (the last one) and reaching a workable solution will be much easier.

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

    Re: Not returning correct values in all cells

    Your data, especially column D of the sheet PO received looks like it has been subjected to much experimentation by yourself, making a messy situation even messier. Can you go back to your source data and repost a MUCH smaller virgin data set. Remove unnecessay sheets.

    In that colun, you have a random mixture of real numbers, text that looks like a number and text bracketed by non-printing characters. I guarantee that a virgin set of data will have only one of these (the last one) and reaching a workable solution will be much easier.

  10. #10
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Not returning correct values in all cells

    Hi Glenn,
    Here it is , well as you say i agree the data is messed up, i can go back and ask for fresh set of data but i doubt i got to work with this. but atleast can you let me know for this small set of data what the problem is
    In sheet PO c28 should not be "not found" it should be "1691662-01" as this is there in the other sheet in row 1215. That's what the formula is doing in C
    Sorry to bother but my last try
    Regards
    mp
    Attached Files Attached Files

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

    Re: Not returning correct values in all cells

    It's night time here. I'm not at home; but relaxing in a remote part of Goa.

    I know (I think - 99%) what the problem is, and how to fix it. However, with non-virgin data, the solution will have to be unnnecessarily complicated.

    I'll have a go in a.m.; but a virgin dataset will make YOUR life and MINE much easier.

  12. #12
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Not returning correct values in all cells

    Oh so nice, please take your time, hmmm refreshing at my place, me from Goa too.. nice to hear that
    have a good time

+ 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. SUMPRODUCT Not Returning Correct Values
    By thecircularwriter in forum Excel - New Users/Basics
    Replies: 13
    Last Post: 01-10-2015, 06:42 PM
  2. [SOLVED] VLOOKUP returning all correct values except the first.
    By K.J.Dub in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-02-2012, 01:05 PM
  3. [SOLVED] Nested If functions are not returning correct values.
    By ybortony in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2012, 01:50 PM
  4. VLOOKUP is returning the "title" of my column in the correct cells.
    By cluelessatwork in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-29-2011, 02:53 PM
  5. Formula sometimes returning correct answer and sometimes returning 0
    By redimp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2010, 06:28 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