Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default To list down all SN (Serial Number)

Dear All,

Please help to solve it by FORMULA.

I have a database e.g 20 Rows, the fields Product Name, SN, etc (Sheet A)

I would like to concatenate the SN, if match with the product Name (Sheet B).
For Example : if Col A, Product Name = Computer, Col B, i want to be text
the SN like this (A1234, B1234, C1234) from the database in Sheet A.

thank you for your kind attention and help.

TIA and respectfully,
andri
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default To list down all SN (Serial Number)

Try

In sheet A put this formula in B2 =VLOOKUP(A2,Sheet2!$A$1:$B$20,2,0)
and drag it.




On Sep 15, 10:34*am, Andri wrote:
Dear All,

Please help to solve it by FORMULA.

I have a database e.g 20 Rows, the fields Product Name, SN, etc (Sheet A)

I would like to concatenate the SN, if match with the product Name (Sheet B).
For Example : if Col A, Product Name = Computer, Col B, i want to be text
the SN like this (A1234, B1234, C1234) from the database in Sheet A.

thank you for your kind attention and help.

TIA and respectfully,
andri


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default To list down all SN (Serial Number)

Dear Muddan,

thank you for the response. but that Vlookup formula only list one of SN
(the first occurance).

But i would like to list down all the SN if the Product Name is match.
SN = TEXT data.

Thank you and looking forward further guidance.

respectfully,
andry

"muddan madhu" wrote:

Try

In sheet A put this formula in B2 =VLOOKUP(A2,Sheet2!$A$1:$B$20,2,0)
and drag it.




On Sep 15, 10:34 am, Andri wrote:
Dear All,

Please help to solve it by FORMULA.

I have a database e.g 20 Rows, the fields Product Name, SN, etc (Sheet A)

I would like to concatenate the SN, if match with the product Name (Sheet B).
For Example : if Col A, Product Name = Computer, Col B, i want to be text
the SN like this (A1234, B1234, C1234) from the database in Sheet A.

thank you for your kind attention and help.

TIA and respectfully,
andri



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default To list down all SN (Serial Number)

Use this formula in sheet A

=INDEX(SheetB!$B$1:$B$10,SMALL(IF(SheetB!$A$1:$A$1 0=sheetA!$A
$2,ROW(SheetB!$A$1:$A$10)),ROW(1:1)),1)

use ctrl + shift + enter this is an array formula


On Sep 15, 12:14*pm, Andri wrote:
Dear Muddan,

thank you for the response. but that Vlookup formula only list one of SN
(the first occurance).

But i would like to list down all the SN if the Product Name is match.
SN = TEXT data.

Thank you and looking forward further guidance.

respectfully,
andry



"muddan madhu" wrote:
Try


In sheet A put this formula in B2 *=VLOOKUP(A2,Sheet2!$A$1:$B$20,2,0)
and drag it.


On Sep 15, 10:34 am, Andri wrote:
Dear All,


Please help to solve it by FORMULA.


I have a database e.g 20 Rows, the fields Product Name, SN, etc (Sheet A)


I would like to concatenate the SN, if match with the product Name (Sheet B).
For Example : if Col A, Product Name = Computer, Col B, i want to be text
the SN like this (A1234, B1234, C1234) from the database in Sheet A.


thank you for your kind attention and help.


TIA and respectfully,
andri- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default To list down all SN (Serial Number)

Dear Madhu,

Still cannot get what i wish to do.

Here are the details:
Sheet1

Col A Col B (SN)
Printer A1234
Computer XXXX1
Printer B1234
Keyboard BBBBB
Computer XXXX2
Printer C1234

Sheet2, i wish to do like this

Col A COL B (the cell i have to enter the formula)
Printer A1234, B1234, C1234
Computer XXXX1,XXXX2
Keyboard BBBBB

Please help and TIA.

Respectfully,
andry

"muddan madhu" wrote:

Use this formula in sheet A

=INDEX(SheetB!$B$1:$B$10,SMALL(IF(SheetB!$A$1:$A$1 0=sheetA!$A
$2,ROW(SheetB!$A$1:$A$10)),ROW(1:1)),1)

use ctrl + shift + enter this is an array formula


On Sep 15, 12:14 pm, Andri wrote:
Dear Muddan,

thank you for the response. but that Vlookup formula only list one of SN
(the first occurance).

But i would like to list down all the SN if the Product Name is match.
SN = TEXT data.

Thank you and looking forward further guidance.

respectfully,
andry



"muddan madhu" wrote:
Try


In sheet A put this formula in B2 =VLOOKUP(A2,Sheet2!$A$1:$B$20,2,0)
and drag it.


On Sep 15, 10:34 am, Andri wrote:
Dear All,


Please help to solve it by FORMULA.


I have a database e.g 20 Rows, the fields Product Name, SN, etc (Sheet A)


I would like to concatenate the SN, if match with the product Name (Sheet B).
For Example : if Col A, Product Name = Computer, Col B, i want to be text
the SN like this (A1234, B1234, C1234) from the database in Sheet A.


thank you for your kind attention and help.


TIA and respectfully,
andri- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default To list down all SN (Serial Number)

I am getting the results.....

sheet 1 u have data
sheet 2 u need output (result)

go to sheet 2 , cell A1 u have Printer, Cell A2 u have computer,
cell A3 u have keyboard, in cell B1 put this formula
=INDEX(Sheet1!$B$1:$B$6,SMALL(IF(Sheet1!$A$1:$A$6= Sheet2!A1,ROW(Sheet1!
$A$1:$A$6)),ROW($1:$1)),1)
once u enter the formula not just an enter but use Ctrl + Shift +
Enter and drag the formula till B3.

u will see the result as
A1234
XXXX1
BBBBB

and C1 put this formula
=INDEX(Sheet1!$B$1:$B$6,SMALL(IF(Sheet1!$A$1:$A$6= Sheet2!A1,ROW(Sheet1!
$A$1:$A$6)),ROW($2:$2)),1)
once u enter the formula hit ctrl +shift + enter and drag it till C3.

u will see the result as
B1234
XXXX2
#NUM!

If u want to see blank cell instead of error in the cell then use
=IF(ISERROR(INDEX(Sheet1!$B$1:$B$6,SMALL(IF(Sheet1 !$A$1:$A$6=Sheet2!
A3,ROW(Sheet1!$A$1:$A$6)),ROW($2:$2)),1)),"",INDEX (Sheet1!$B$1:$B
$6,SMALL(IF(Sheet1!$A$1:$A$6=Sheet2!A3,ROW(Sheet1! $A$1:$A
$6)),ROW($2:$2)),1))

similarly for D1 ....

finally u will see the results as
A1234 B1234 C1234
XXX1 XXX2
BBBB

In B2 just add &","&C2&","&D2
similarly for C2 and D2.

u will get it as
A1234,B1234,C1234..
..
..
..










On Sep 15, 10:59*pm, Andri wrote:
Dear Madhu,

Still cannot get what i wish to do.

Here are the details:
Sheet1

Col A * * * * * Col B (SN)
Printer * * * * A1234
Computer * *XXXX1
Printer * * * * B1234
Keyboard * * BBBBB
Computer * *XXXX2
Printer * * * * C1234

Sheet2, i wish to do like this

Col A * * * * * COL B (the cell i have to enter the formula)
Printer * * * * A1234, B1234, C1234
Computer * *XXXX1,XXXX2
Keyboard * * BBBBB

Please help and TIA.

Respectfully,
andry

"muddan madhu" wrote:
Use this formula in sheet A


=INDEX(SheetB!$B$1:$B$10,SMALL(IF(SheetB!$A$1:$A$1 0=sheetA!$A
$2,ROW(SheetB!$A$1:$A$10)),ROW(1:1)),1)


use ctrl + shift + enter this is an array formula


On Sep 15, 12:14 pm, Andri wrote:
Dear Muddan,


thank you for the response. but that Vlookup formula only list one of SN
(the first occurance).


But i would like to list down all the SN if the Product Name is match..
SN = TEXT data.


Thank you and looking forward further guidance.


respectfully,
andry


"muddan madhu" wrote:
Try


In sheet A put this formula in B2 *=VLOOKUP(A2,Sheet2!$A$1:$B$20,2,0)
and drag it.


On Sep 15, 10:34 am, Andri wrote:
Dear All,


Please help to solve it by FORMULA.


I have a database e.g 20 Rows, the fields Product Name, SN, etc (Sheet A)


I would like to concatenate the SN, if match with the product Name (Sheet B).
For Example : if Col A, Product Name = Computer, Col B, i want to be text
the SN like this (A1234, B1234, C1234) from the database in Sheet A.


thank you for your kind attention and help.


TIA and respectfully,
andri- Hide quoted text -


- Show quoted text -


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
Formula for serial number Vidya Excel Discussion (Misc queries) 0 August 5th 08 02:55 PM
how to get serial number in word? like 1=one, 2=two Malik Nadeem Excel Discussion (Misc queries) 5 August 20th 07 07:16 PM
Formula for serial number shaji Excel Discussion (Misc queries) 6 June 25th 07 01:22 PM
Serial number of Date Gazzr Excel Worksheet Functions 2 March 24th 06 08:59 AM
Serial Number List Rowf Excel Discussion (Misc queries) 3 September 21st 05 05:55 PM


All times are GMT +1. The time now is 05:50 PM.

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

About Us

"It's about Microsoft Excel"