• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Look/Compare and return the Value

DSP Varma

Member
I want to compare the values of Column C in Array (Column B) and return the figures of Column B in column D using a formula/function without disturbing the table.
 

Attachments

  • test.xlsx
    10.9 KB · Views: 9
That doesn't make sense, what the logic when you have value this 607 1609318798-799 and the result is 1411609318977?
 
That doesn't make sense, what the logic when you have value this 607 1609318798-799 and the result is 1411609318977?
I am sorry. Since the data is manually entered I made a mistake. I am resending the file again.
 

Attachments

  • test (1).xlsx
    10.5 KB · Views: 12
Try,

In E2, formula copy down :

=IFERROR(INDEX(B$2:B$43,MATCH(1,INDEX((LEFT(B$2:B$43,13)>=LEFT(SUBSTITUTE(C2," ",""),13))*(LEFT(B$2:B$43,13)<=LEFT(SUBSTITUTE(C2," ",""),10)&RIGHT(C2,3)),0),0)),"-")

Regards
Bosco
 

Attachments

  • 2CriteriaLookupTest1.xlsx
    11.6 KB · Views: 17
Try,

In E2, formula copy down :

=IFERROR(INDEX(B$2:B$43,MATCH(1,INDEX((LEFT(B$2:B$43,13)>=LEFT(SUBSTITUTE(C2," ",""),13))*(LEFT(B$2:B$43,13)<=LEFT(SUBSTITUTE(C2," ",""),10)&RIGHT(C2,3)),0),0)),"-")

Regards
Bosco
Thanks Bosco. You did a wonderful job
 
Can somebody get a formula for the above question as the above formula given by Bosco worked for me but it is taking lot of time and many times it is hanging my system.

Thanks in Advance
 
Hi !

Very difficult as Excel is not a database software
and without a smart reorganized worksheet …

As a starter, a sample for D9 cell :

=VLOOKUP(SUBSTITUTE(LEFT(C9,SEARCH("-",C9)-1)&"*"," ",""),$B$2:$B$43,1,FALSE)
 
Back
Top