Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Extract Data into a Summarized form

Hello Experts,
There are 6 steps needed in my question of how to pull data into a new
journal entry [Summary] tab:
1) How do you skip through the "" (blanks) and the zeros within column
[M], and extract each of the values? I have named this range as
[Values], current tab name is [Depreciation].

For each of the value that is extracted, on the corresponding row;
2) Go to column E (Debit account), copy and paste to the Summary tab.
3) Go to column F (Credit account), copy and paste to the Summary tab.
4) Go to column A (Description), copy and paste to the Summary tab.

5) In the Summary tab, inverse the extracted value from Step 3 to
represent a Credit entry.
6) Leave a blank row; then repeat all steps until no further values are
available.

The end result of the Summary tab would look like this:
Letters represent the Column. Numbers represent the steps above.

Starting at Row 5
(A) 51100 [step 2],(B) insert this function to Lookup the account code's
description
[=INDEX(Accounts!$A$1:$C$777,MATCH(A5,Accounts!$A$1 :$A$777,0),3)]
(G) 20,000 [step 1]

Row 6
(A) 18720 [step 3],(B) insert this function to Lookup the account code's
description
[=INDEX(Accounts!$A$1:$C$777,MATCH(A6,Accounts!$A$1 :$A$777,0),3)]
(G) -20,000 [step 5]

Row 7
(B) Building Depreciation for 10 years [step 4]

Row 9
(Blank Row in between). Loop all steps until no more values found within
[Depreciation] tab's [Values] range.


Your help is great appreciated.

Thanks in advance,
Ricky

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Extract Data into a Summarized form

Hello again,
I think it's better to rephrase and go about this one step at a time. I
have Debit account codes in Column E, Credit account codes in Column F,
$values in Column M.

How do you go down the list of Column M and pick each value (skipping
the "" Blanks and zeros) of Column M, extract the Debit account code in
E and the $value in M within that row; paste it to a new tab? Then,
extract the Account code in Column F and the same $value in M; paste it
to the new tab, next row?

Keep looping until no further values in column M.

I'd really appreciate your help.

Thanks so much,
Ricky



*** Sent via Developersdex http://www.developersdex.com ***
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Extract Data into a Summarized form

Hello,
So far, this code can hide the rows containing "0" value and blanks
within column M. However, how do you copy each Value and its
corresponding row data in column E and paste to a new tab? Next, copy
the same Value (but inverse the sign this time) and copy the row data in
column F to the new tab's next line? Insert 2 blank rows.

How do you continue to loop this copy and paste procedure until no
further values exist within the "Values" range of column M?

Dim C As Range

For Each C In Range("Values")
If Trim(C.Value) = "0" Or Trim(C.Value) = "" Then Rows(C.Row).Hidden
= True _
Else Rows(C.Row).Hidden = False
Next

Your help is greatly appreciated.

Thanks,
Ricky

*** Sent via Developersdex http://www.developersdex.com ***
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Extract Data into a Summarized form

Hello Experts,
I can't seem to build on top of this existing code to summarized the
data into a new tab. Any takers?

Thanks in advance,
Ricky



*** Sent via Developersdex http://www.developersdex.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
Pivot Table WITHOUT summarized data NateO Excel Discussion (Misc queries) 0 February 17th 11 07:45 PM
repeated conversion of data summarized into rows and columns Ian Excel Discussion (Misc queries) 2 December 28th 09 02:01 AM
Create summarized date driven data JRussell Excel Discussion (Misc queries) 9 April 8th 09 06:29 PM
Extract data from form MLK Excel Discussion (Misc queries) 3 May 5th 07 12:27 PM
How do I change how PivotChart data is summarized, from sum to av. csavage Excel Worksheet Functions 5 January 27th 05 04:37 AM


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