Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Copying the data's

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Copying the data's

one way
assuming your data is in column A and B and starts in A1
in C1 enter 1
in C2 enter = C1+B1
copy C2 and paste down to one row below your data

in sheet 2 in A 1
=if(row()<=product(Sheet1!B:B),index(Sheet1!A:A,ma tch(Sheet1!C:C,row()),"")
copy and paste down as far as needed


"Christopher Naveen" wrote:

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Copying the data's

oops!
second equation should have been
=if(row()<=sum(Sheet1!B:B),index(Sheet1!A:A,match( Sheet1!C:C,row()),"")

"bj" wrote:

one way
assuming your data is in column A and B and starts in A1
in C1 enter 1
in C2 enter = C1+B1
copy C2 and paste down to one row below your data

in sheet 2 in A 1
=if(row()<=product(Sheet1!B:B),index(Sheet1!A:A,ma tch(Sheet1!C:C,row()),"")
copy and paste down as far as needed


"Christopher Naveen" wrote:

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 58
Default Copying the data's

Hi,

I pasted the 2nd equation provided by u in sheet 2 but it is showing #N/A.
Pls advise.

-Christopher

"bj" wrote:

oops!
second equation should have been
=if(row()<=sum(Sheet1!B:B),index(Sheet1!A:A,match( Sheet1!C:C,row()),"")

"bj" wrote:

one way
assuming your data is in column A and B and starts in A1
in C1 enter 1
in C2 enter = C1+B1
copy C2 and paste down to one row below your data

in sheet 2 in A 1
=if(row()<=product(Sheet1!B:B),index(Sheet1!A:A,ma tch(Sheet1!C:C,row()),"")
copy and paste down as far as needed


"Christopher Naveen" wrote:

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Copying the data's

check each of the sections by itself
=sum(Sheet1!B:B)
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())
to determine which is the source of the N/a

did column C show as numbers?

"Christopher Naveen" wrote:

Hi,

I pasted the 2nd equation provided by u in sheet 2 but it is showing #N/A.
Pls advise.

-Christopher

"bj" wrote:

oops!
second equation should have been
=if(row()<=sum(Sheet1!B:B),index(Sheet1!A:A,match( Sheet1!C:C,row()),"")

"bj" wrote:

one way
assuming your data is in column A and B and starts in A1
in C1 enter 1
in C2 enter = C1+B1
copy C2 and paste down to one row below your data

in sheet 2 in A 1
=if(row()<=product(Sheet1!B:B),index(Sheet1!A:A,ma tch(Sheet1!C:C,row()),"")
copy and paste down as far as needed


"Christopher Naveen" wrote:

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 58
Default Copying the data's

I am finding problem while using the below mentioned formula's
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())

Pls help.

-Christ

"bj" wrote:

check each of the sections by itself
=sum(Sheet1!B:B)
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())
to determine which is the source of the N/a

did column C show as numbers?

"Christopher Naveen" wrote:

Hi,

I pasted the 2nd equation provided by u in sheet 2 but it is showing #N/A.
Pls advise.

-Christopher

"bj" wrote:

oops!
second equation should have been
=if(row()<=sum(Sheet1!B:B),index(Sheet1!A:A,match( Sheet1!C:C,row()),"")

"bj" wrote:

one way
assuming your data is in column A and B and starts in A1
in C1 enter 1
in C2 enter = C1+B1
copy C2 and paste down to one row below your data

in sheet 2 in A 1
=if(row()<=product(Sheet1!B:B),index(Sheet1!A:A,ma tch(Sheet1!C:C,row()),"")
copy and paste down as far as needed


"Christopher Naveen" wrote:

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Copying the data's

the match equation should have been
=match(Sheet1!C:C,row())
and the other
=index(Sheet1!A:A,match(Sheet1!C:C,row()))
"Christopher Naveen" wrote:

I am finding problem while using the below mentioned formula's
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())

Pls help.

-Christ

"bj" wrote:

check each of the sections by itself
=sum(Sheet1!B:B)
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())
to determine which is the source of the N/a

did column C show as numbers?

"Christopher Naveen" wrote:

Hi,

I pasted the 2nd equation provided by u in sheet 2 but it is showing #N/A.
Pls advise.

-Christopher

"bj" wrote:

oops!
second equation should have been
=if(row()<=sum(Sheet1!B:B),index(Sheet1!A:A,match( Sheet1!C:C,row()),"")

"bj" wrote:

one way
assuming your data is in column A and B and starts in A1
in C1 enter 1
in C2 enter = C1+B1
copy C2 and paste down to one row below your data

in sheet 2 in A 1
=if(row()<=product(Sheet1!B:B),index(Sheet1!A:A,ma tch(Sheet1!C:C,row()),"")
copy and paste down as far as needed


"Christopher Naveen" wrote:

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 58
Default Copying the data's

Sorry.
I entered the same formula in sheet 2 cell A1 it is showing as #N/A. If u
dont mind can u pls send me the excel sheet which u tried.

My email ID :

-Christ

"bj" wrote:

the match equation should have been
=match(Sheet1!C:C,row())
and the other
=index(Sheet1!A:A,match(Sheet1!C:C,row()))
"Christopher Naveen" wrote:

I am finding problem while using the below mentioned formula's
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())

Pls help.

-Christ

"bj" wrote:

check each of the sections by itself
=sum(Sheet1!B:B)
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())
to determine which is the source of the N/a

did column C show as numbers?

"Christopher Naveen" wrote:

Hi,

I pasted the 2nd equation provided by u in sheet 2 but it is showing #N/A.
Pls advise.

-Christopher

"bj" wrote:

oops!
second equation should have been
=if(row()<=sum(Sheet1!B:B),index(Sheet1!A:A,match( Sheet1!C:C,row()),"")

"bj" wrote:

one way
assuming your data is in column A and B and starts in A1
in C1 enter 1
in C2 enter = C1+B1
copy C2 and paste down to one row below your data

in sheet 2 in A 1
=if(row()<=product(Sheet1!B:B),index(Sheet1!A:A,ma tch(Sheet1!C:C,row()),"")
copy and paste down as far as needed


"Christopher Naveen" wrote:

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.


  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Copying the data's

I should have copied and pasted the formula rather than just typing it in. I
made multiple errors on my typed formula
try this one on sheet 2
=IF(ROW()<=SUM(Sheet1!B:B),INDEX(Sheet1!A:A,MATCH( ROW(),Sheet1!C:C)),"")

"Christopher Naveen" wrote:

Sorry.
I entered the same formula in sheet 2 cell A1 it is showing as #N/A. If u
dont mind can u pls send me the excel sheet which u tried.

My email ID :

-Christ

"bj" wrote:

the match equation should have been
=match(Sheet1!C:C,row())
and the other
=index(Sheet1!A:A,match(Sheet1!C:C,row()))
"Christopher Naveen" wrote:

I am finding problem while using the below mentioned formula's
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())

Pls help.

-Christ

"bj" wrote:

check each of the sections by itself
=sum(Sheet1!B:B)
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())
to determine which is the source of the N/a

did column C show as numbers?

"Christopher Naveen" wrote:

Hi,

I pasted the 2nd equation provided by u in sheet 2 but it is showing #N/A.
Pls advise.

-Christopher

"bj" wrote:

oops!
second equation should have been
=if(row()<=sum(Sheet1!B:B),index(Sheet1!A:A,match( Sheet1!C:C,row()),"")

"bj" wrote:

one way
assuming your data is in column A and B and starts in A1
in C1 enter 1
in C2 enter = C1+B1
copy C2 and paste down to one row below your data

in sheet 2 in A 1
=if(row()<=product(Sheet1!B:B),index(Sheet1!A:A,ma tch(Sheet1!C:C,row()),"")
copy and paste down as far as needed


"Christopher Naveen" wrote:

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.


  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 58
Default Copying the data's

Hi,

Excellent!!!!!!!

now it is working fine. Thanks a lot for ur help and pls dont mistake me i
really cannot understand the formula which u given here first i want to know
abt the formula. Can u pls explain me abt this formula in brief.

-Christ,

"bj" wrote:

I should have copied and pasted the formula rather than just typing it in. I
made multiple errors on my typed formula
try this one on sheet 2
=IF(ROW()<=SUM(Sheet1!B:B),INDEX(Sheet1!A:A,MATCH( ROW(),Sheet1!C:C)),"")

"Christopher Naveen" wrote:

Sorry.
I entered the same formula in sheet 2 cell A1 it is showing as #N/A. If u
dont mind can u pls send me the excel sheet which u tried.

My email ID :

-Christ

"bj" wrote:

the match equation should have been
=match(Sheet1!C:C,row())
and the other
=index(Sheet1!A:A,match(Sheet1!C:C,row()))
"Christopher Naveen" wrote:

I am finding problem while using the below mentioned formula's
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())

Pls help.

-Christ

"bj" wrote:

check each of the sections by itself
=sum(Sheet1!B:B)
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())
to determine which is the source of the N/a

did column C show as numbers?

"Christopher Naveen" wrote:

Hi,

I pasted the 2nd equation provided by u in sheet 2 but it is showing #N/A.
Pls advise.

-Christopher

"bj" wrote:

oops!
second equation should have been
=if(row()<=sum(Sheet1!B:B),index(Sheet1!A:A,match( Sheet1!C:C,row()),"")

"bj" wrote:

one way
assuming your data is in column A and B and starts in A1
in C1 enter 1
in C2 enter = C1+B1
copy C2 and paste down to one row below your data

in sheet 2 in A 1
=if(row()<=product(Sheet1!B:B),index(Sheet1!A:A,ma tch(Sheet1!C:C,row()),"")
copy and paste down as far as needed


"Christopher Naveen" wrote:

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.




  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Copying the data's

the first section
=IF(ROW()<=SUM(Sheet1!B:B)
merely checks to see how any rows you need to go down
the second
,INDEX(Sheet1!A:A,MATCH(ROW(),Sheet1!C:C))
sets up the range to look at and uses the match funciton to determine if you
have goten to the next number yet. column C is the cumilatve summ of the
previous times numbers need to be added.
the third
,"")
just puts a blank cell when you are past the total numner of entries you
want/.



"Christopher Naveen" wrote:

Hi,

Excellent!!!!!!!

now it is working fine. Thanks a lot for ur help and pls dont mistake me i
really cannot understand the formula which u given here first i want to know
abt the formula. Can u pls explain me abt this formula in brief.

-Christ,

"bj" wrote:

I should have copied and pasted the formula rather than just typing it in. I
made multiple errors on my typed formula
try this one on sheet 2
=IF(ROW()<=SUM(Sheet1!B:B),INDEX(Sheet1!A:A,MATCH( ROW(),Sheet1!C:C)),"")

"Christopher Naveen" wrote:

Sorry.
I entered the same formula in sheet 2 cell A1 it is showing as #N/A. If u
dont mind can u pls send me the excel sheet which u tried.

My email ID :

-Christ

"bj" wrote:

the match equation should have been
=match(Sheet1!C:C,row())
and the other
=index(Sheet1!A:A,match(Sheet1!C:C,row()))
"Christopher Naveen" wrote:

I am finding problem while using the below mentioned formula's
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())

Pls help.

-Christ

"bj" wrote:

check each of the sections by itself
=sum(Sheet1!B:B)
=match(Sheet1!C:C,row()),"")
=index(Sheet1!A:A,match(Sheet1!C:C,row())
to determine which is the source of the N/a

did column C show as numbers?

"Christopher Naveen" wrote:

Hi,

I pasted the 2nd equation provided by u in sheet 2 but it is showing #N/A.
Pls advise.

-Christopher

"bj" wrote:

oops!
second equation should have been
=if(row()<=sum(Sheet1!B:B),index(Sheet1!A:A,match( Sheet1!C:C,row()),"")

"bj" wrote:

one way
assuming your data is in column A and B and starts in A1
in C1 enter 1
in C2 enter = C1+B1
copy C2 and paste down to one row below your data

in sheet 2 in A 1
=if(row()<=product(Sheet1!B:B),index(Sheet1!A:A,ma tch(Sheet1!C:C,row()),"")
copy and paste down as far as needed


"Christopher Naveen" wrote:

Hi,

Good evening.

I am christopher frm India.

My challenge is :

For example I have 5 rows and 2 columns as mentioned below and now pls look
the "name" col and the 1st data is "A" and the count is "7" and now I need
the value "A" should be pasted 7 times in new sheet and again it should check
for the 2nd data ( i.e) "B" and the count is "2" so it shud paste the 2nd
data 2 times in the sheet where already u pasted the 1st data.

Name Count
A 7
B 2
C 3
D 4
E 8


Output shoud be

Name
A
A
A
A
A
A
A
B
B


Pls help. Eagerly waiting for ur reply.


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
copying the Hyperlink function result without copying the actual formula mcheng Excel Worksheet Functions 2 June 9th 07 02:43 AM
copying a row Excel Greenie[_2_] Excel Discussion (Misc queries) 1 May 21st 07 04:11 AM
Combine all the data's from different sheet to one sheet. cheenu Excel Worksheet Functions 1 May 15th 06 04:34 PM
Copying neilangelo Excel Discussion (Misc queries) 5 February 1st 06 01:13 PM
collect data's from different excel files Alex Excel Worksheet Functions 2 November 22nd 05 04:08 PM


All times are GMT +1. The time now is 05:35 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"