Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Summary display horizontally

I need helps for the summary from sheet 1 to sheet 2 to be displa
horizontally so that I view them all at a glance. The macro will alway
execute from last row upward for the next 100 rows.

Presently I use the auto filter method which cannot produce somethin
as in sheet 2.

Can it be done ? Kindly take a look at the example below.

Sheet 1 (Datas)
Rows===Col A

0001 A

until

2000 A
2001 A
2002 C
2003 B
2004 A
2005 B
2006 B
2007 C
2008 C
2009 C
2010 A (e.g.last row)

Sheet 2 (Report)
Col A===Col B

A 1,-5,1,-2,2 .......
B -4,2,-1,1 .........
C -1,3,-4,1,-2 ......

The value in col B read from Sheet 1 where Col A = Sheet 2 Col A fro
bottom up.It record the counting from last row and continue unti
skipping -100 rows of datas.
e.g. the sheet 2 col B values were from row no 2010-2010+1=1,
2010-2005=-5,2005-2004=1,2004-2002=-2,2002-2000=2.
The value in col B is positive when columns A of sheet 1 & sheet 2 ar
equal else the value will becomes negative.

I hope I can make it clear for someone to help me.


Thanks
Michae

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Summary display horizontally

Hi
really not sure how you derived your values. Could you explain the
logic behind your calculation?

--
Regards
Frank Kabel
Frankfurt, Germany


I need helps for the summary from sheet 1 to sheet 2 to be display
horizontally so that I view them all at a glance. The macro will
always execute from last row upward for the next 100 rows.

Presently I use the auto filter method which cannot produce something
as in sheet 2.

Can it be done ? Kindly take a look at the example below.

Sheet 1 (Datas)
Rows===Col A

0001 A

until

2000 A
2001 A
2002 C
2003 B
2004 A
2005 B
2006 B
2007 C
2008 C
2009 C
2010 A (e.g.last row)

Sheet 2 (Report)
Col A===Col B

A 1,-5,1,-2,2 .......
B -4,2,-1,1 .........
C -1,3,-4,1,-2 ......

The value in col B read from Sheet 1 where Col A = Sheet 2 Col A from
bottom up.It record the counting from last row and continue until
skipping -100 rows of datas.
e.g. the sheet 2 col B values were from row no 2010-2010+1=1,
2010-2005=-5,2005-2004=1,2004-2002=-2,2002-2000=2.
The value in col B is positive when columns A of sheet 1 & sheet 2

are
equal else the value will becomes negative.

I hope I can make it clear for someone to help me.


Thanks
Michael


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Summary display horizontally

Hi! Frank Kabel,
First of all I wish to thank you for trying to help me. I try t
explain the logic as clear as possible and hopefully you can get th
idea behind.

In sheet 2, Col A contain the unrepeated value which can be found i
col A of sheet 1. In sheet 2, col B values were derived from col B o
sheet 1 appearing and skipping or in another word the gaps in between.

Refer to my post, you can see them more clearly.

Frank Kabel wrote:
*Hi
really not sure how you derived your values. Could you explain the
logic behind your calculation?

--
Regards
Frank Kabel
Frankfurt, Germany


I need helps for the summary from sheet 1 to sheet 2 to be display
horizontally so that I view them all at a glance. The macro will
always execute from last row upward for the next 100 rows.

Presently I use the auto filter method which cannot produc

something
as in sheet 2.

Can it be done ? Kindly take a look at the example below.

Sheet 1 (Datas)
Rows===Col A

0001 A

until

2000 A
2001 A
2002 C
2003 B
2004 A
2005 B
2006 B
2007 C
2008 C
2009 C
2010 A (e.g.last row)

Sheet 2 (Report)
Col A===Col B

A 1,-5,1,-2,2 .......
B -4,2,-1,1 .........
C -1,3,-4,1,-2 ......

The value in col B read from Sheet 1 where Col A = Sheet 2 Col

from
bottom up.It record the counting from last row and continue until
skipping -100 rows of datas.
e.g. the sheet 2 col B values were from row no 2010-2010+1=1,
2010-2005=-5,2005-2004=1,2004-2002=-2,2002-2000=2.
The value in col B is positive when columns A of sheet 1 & sheet 2

are
equal else the value will becomes negative.

I hope I can make it clear for someone to help me.


Thanks
Michael


---
Message posted from http://www.ExcelForum.com/


--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Summary display horizontally

Hi
I had a look at your post :-)
But for example your first value is derived by the formula
2010-2010+1
why add '1' in this case. Your calculation just does not seem
consistent for me (but that's probably just me). So you may explain
this logic with some more detail.

--
Regards
Frank Kabel
Frankfurt, Germany


Hi! Frank Kabel,
First of all I wish to thank you for trying to help me. I try to
explain the logic as clear as possible and hopefully you can get the
idea behind.

In sheet 2, Col A contain the unrepeated value which can be found in
col A of sheet 1. In sheet 2, col B values were derived from col B of
sheet 1 appearing and skipping or in another word the gaps in

between.

Refer to my post, you can see them more clearly.

Frank Kabel wrote:
*Hi
really not sure how you derived your values. Could you explain the
logic behind your calculation?

--
Regards
Frank Kabel
Frankfurt, Germany


I need helps for the summary from sheet 1 to sheet 2 to be display
horizontally so that I view them all at a glance. The macro will
always execute from last row upward for the next 100 rows.

Presently I use the auto filter method which cannot produce
something as in sheet 2.

Can it be done ? Kindly take a look at the example below.

Sheet 1 (Datas)
Rows===Col A

0001 A

until

2000 A
2001 A
2002 C
2003 B
2004 A
2005 B
2006 B
2007 C
2008 C
2009 C
2010 A (e.g.last row)

Sheet 2 (Report)
Col A===Col B

A 1,-5,1,-2,2 .......
B -4,2,-1,1 .........
C -1,3,-4,1,-2 ......

The value in col B read from Sheet 1 where Col A = Sheet 2 Col A
from bottom up.It record the counting from last row and continue
until skipping -100 rows of datas.
e.g. the sheet 2 col B values were from row no 2010-2010+1=1,
2010-2005=-5,2005-2004=1,2004-2002=-2,2002-2000=2.
The value in col B is positive when columns A of sheet 1 & sheet 2
are equal else the value will becomes negative.

I hope I can make it clear for someone to help me.


Thanks
Michael


---
Message posted from http://www.ExcelForum.com/ *



---
Message posted from http://www.ExcelForum.com/


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Summary display horizontally

Hi ! Frank Kabel,
I add 1 to 2010 because the last draw no in this example is 2010.
need a 1 as the first starting value,that's why I use the 2010-2010+
to give me a value of 1.

So if you take a look at the example below you will understand what
mean.

e.g. Sheet 2 (Report)
Col A===Col B
A=== 1,-5,1,-2,2 .......

The value will add 1 to the current value if the next value of col A i
the same.

Thanks
Michael.

Frank Kabel wrote:
*Hi
I had a look at your post :-)
But for example your first value is derived by the formula
2010-2010+1
why add '1' in this case. Your calculation just does not seem
consistent for me (but that's probably just me). So you may explain
this logic with some more detail.

--
Regards
Frank Kabel
Frankfurt, Germany


Hi! Frank Kabel,
First of all I wish to thank you for trying to help me. I try to
explain the logic as clear as possible and hopefully you can ge

the
idea behind.

In sheet 2, Col A contain the unrepeated value which can be foun

in
col A of sheet 1. In sheet 2, col B values were derived from col

of
sheet 1 appearing and skipping or in another word the gaps in

between.

Refer to my post, you can see them more clearly.

Frank Kabel wrote:
*Hi
really not sure how you derived your values. Could you explai

the
logic behind your calculation?

--
Regards
Frank Kabel
Frankfurt, Germany


I need helps for the summary from sheet 1 to sheet 2 to b

display
horizontally so that I view them all at a glance. The macro will
always execute from last row upward for the next 100 rows.

Presently I use the auto filter method which cannot produce
something as in sheet 2.

Can it be done ? Kindly take a look at the example below.

Sheet 1 (Datas)
Rows===Col A

0001 A

until

2000 A
2001 A
2002 C
2003 B
2004 A
2005 B
2006 B
2007 C
2008 C
2009 C
2010 A (e.g.last row)

Sheet 2 (Report)
Col A===Col B

A 1,-5,1,-2,2 .......
B -4,2,-1,1 .........
C -1,3,-4,1,-2 ......

The value in col B read from Sheet 1 where Col A = Sheet 2 Col A
from bottom up.It record the counting from last row and continue
until skipping -100 rows of datas.
e.g. the sheet 2 col B values were from row no 2010-2010+1=1,
2010-2005=-5,2005-2004=1,2004-2002=-2,2002-2000=2.
The value in col B is positive when columns A of sheet 1 & shee

2
are equal else the value will becomes negative.

I hope I can make it clear for someone to help me.


Thanks
Michael


---
Message posted from http://www.ExcelForum.com/ *



---
Message posted from http://www.ExcelForum.com/


--
Message posted from http://www.ExcelForum.com



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Summary display horizontally

Hi Michael
sorry to say but this is the same example I didn't get in the first
place. So it's probably me who did not see the logic behind it. Maybe
someone else sees the algorithmn

--
Regards
Frank Kabel
Frankfurt, Germany


Hi ! Frank Kabel,
I add 1 to 2010 because the last draw no in this example is 2010. I
need a 1 as the first starting value,that's why I use the 2010-2010+1
to give me a value of 1.

So if you take a look at the example below you will understand what I
mean.

e.g. Sheet 2 (Report)
Col A===Col B
A=== 1,-5,1,-2,2 .......

The value will add 1 to the current value if the next value of col A
is the same.

Thanks
Michael.

Frank Kabel wrote:
*Hi
I had a look at your post :-)
But for example your first value is derived by the formula
2010-2010+1
why add '1' in this case. Your calculation just does not seem
consistent for me (but that's probably just me). So you may explain
this logic with some more detail.

--
Regards
Frank Kabel
Frankfurt, Germany


Hi! Frank Kabel,
First of all I wish to thank you for trying to help me. I try to
explain the logic as clear as possible and hopefully you can get

the
idea behind.

In sheet 2, Col A contain the unrepeated value which can be found

in
col A of sheet 1. In sheet 2, col B values were derived from col B
of sheet 1 appearing and skipping or in another word the gaps in
between.

Refer to my post, you can see them more clearly.

Frank Kabel wrote:
*Hi
really not sure how you derived your values. Could you explain the
logic behind your calculation?

--
Regards
Frank Kabel
Frankfurt, Germany


I need helps for the summary from sheet 1 to sheet 2 to be

display
horizontally so that I view them all at a glance. The macro will
always execute from last row upward for the next 100 rows.

Presently I use the auto filter method which cannot produce
something as in sheet 2.

Can it be done ? Kindly take a look at the example below.

Sheet 1 (Datas)
Rows===Col A

0001 A

until

2000 A
2001 A
2002 C
2003 B
2004 A
2005 B
2006 B
2007 C
2008 C
2009 C
2010 A (e.g.last row)

Sheet 2 (Report)
Col A===Col B

A 1,-5,1,-2,2 .......
B -4,2,-1,1 .........
C -1,3,-4,1,-2 ......

The value in col B read from Sheet 1 where Col A = Sheet 2 Col A
from bottom up.It record the counting from last row and continue
until skipping -100 rows of datas.
e.g. the sheet 2 col B values were from row no 2010-2010+1=1,
2010-2005=-5,2005-2004=1,2004-2002=-2,2002-2000=2.
The value in col B is positive when columns A of sheet 1 & sheet

2
are equal else the value will becomes negative.

I hope I can make it clear for someone to help me.


Thanks
Michael


---
Message posted from http://www.ExcelForum.com/ *



---
Message posted from http://www.ExcelForum.com/
*



---
Message posted from http://www.ExcelForum.com/


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
Excel cell to display summary of columns Danielle Excel Worksheet Functions 5 October 8th 08 07:16 PM
Display Horizontally Dr DR Excel Discussion (Misc queries) 0 June 13th 08 10:31 PM
pivot table to display the value instead of a summary Jinghui Excel Discussion (Misc queries) 1 May 8th 08 02:42 AM
Display a weekly summary markag Excel Worksheet Functions 3 July 31st 06 09:24 PM
Display summary sheet with Now or Today data. Wayne New Users to Excel 5 December 29th 04 08:45 AM


All times are GMT +1. The time now is 05:27 AM.

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"