Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 4
Default excel compare problem

hi, please understand, my English isn't that good to explain my problem :)

if you see the attached file


I need to match A and F cell , if F Cell contains number from A

I need to put G cell price on B cell.

anyone has an idea?


Please help me.

God bless you !!
Attached Images
 

Last edited by 10ten92 : June 1st 12 at 10:26 PM
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by 10ten92 View Post
hi, please understand, my English isn't that good to explain my problem :)

if you see the attached file


I need to match A and F cell , if F Cell contains number from A

I need to put G cell price on B cell.

anyone has an idea?


Please help me.

God bless you !!
Try this formula in cell B1 then copy down.

=IFERROR(IF(FIND(F1,A1)0,G1,""),"")
  #3   Report Post  
Junior Member
 
Posts: 4
Default

Quote:
Originally Posted by Spencer101 View Post
Try this formula in cell B1 then copy down.

=IFERROR(IF(FIND(F1,A1)0,G1,""),"")
really thank you for your answer :)

but my question was bad, here is the right question.

please check an attached file.

I need to match A - F cell and get a number from G cell if F contains

number compare to A.

Please help me
Attached Images
 
  #4   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by 10ten92 View Post
really thank you for your answer :)

but my question was bad, here is the right question.

please check an attached file.

I need to match A - F cell and get a number from G cell if F contains

number compare to A.

Please help me
OK, I think I understand what you need now but I have a question. Would the number in A always have two additional numbers at the start?

So in A it shows as 00123 but in F it shows as 123?
  #5   Report Post  
Junior Member
 
Posts: 4
Default

Quote:
Originally Posted by Spencer101 View Post
OK, I think I understand what you need now but I have a question. Would the number in A always have two additional numbers at the start?

So in A it shows as 00123 but in F it shows as 123?
No
Its randomly has 0,00 or no 0

Ty for ur help :)

A cell used be upc code but some of them, excel deleted number 0 when my scanner read the numbers becuase of cell type wasn't text type.

Last edited by 10ten92 : June 4th 12 at 02:14 PM


  #6   Report Post  
Junior Member
 
Posts: 4
Default

Quote:
Originally Posted by 10ten92 View Post
No
Its randomly has 0,00 or no 0

Ty for ur help :)

A cell used be upc code but some of them, excel deleted number 0 when my scanner read the numbers becuase of cell type wasn't text type.
I got the answer by myslef :)

If F cell is text format

=VLOOKUP(TEXT(VALUE(A2),"0"),F:G,2,0)



If F cell is number format

=VLOOKUP(VALUE(A2),F:G,2,0)


TY !!
  #7   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by 10ten92 View Post
I got the answer by myslef :)

If F cell is text format

=VLOOKUP(TEXT(VALUE(A2),"0"),F:G,2,0)



If F cell is number format

=VLOOKUP(VALUE(A2),F:G,2,0)


TY !!

Well done! :)
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare columns - weird baffling problem ChipButtyMan Excel Programming 3 September 19th 08 06:53 PM
Compare Problem Stephen[_24_] Excel Programming 2 March 7th 08 03:00 PM
How do I compare cells and if FALSE compare to next cell in EXCEL Cindie Excel Worksheet Functions 0 March 24th 06 05:29 PM
Problem with code. (Compare all cells) Metrazal[_46_] Excel Programming 1 March 10th 06 07:34 PM
Excel VBA - Help with a loop, compare, delete problem rippy Excel Programming 0 February 4th 04 03:38 PM


All times are GMT +1. The time now is 10:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"