• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Summary worksheet

Leonora Bayona

New Member
Hi Sir,

I'm trying to use VBA to summarize the purchase order, But not able to do it.
Please help me.
Each worksheet have more than 5 tabs
Each tabs have at least 10 to 20 items.
I would like to have the following data in summary within the worksheet.

Dept:Deliver on:Sheet NameTo:p.O No.:QtyUoMDescriptionU.P.Total
 

Attachments

  • upload_2015-9-21_0-9-56.png
    upload_2015-9-21_0-9-56.png
    204.4 KB · Views: 2
  • 20141010 Chijmes P.O.xls
    190.5 KB · Views: 2
There were some challenges with links ( but no problem! ) and
one of tab was different than others.
If 'basic tabs' are different, it needs to make some modifications.
Something like that?
You could use .xlsm -version if possible.
Ask, if You have any questions, Okay?
 

Attachments

  • 20141010 Chijmes P.O.xls
    135.5 KB · Views: 1
  • 20141010 Chijmes P.xlsm
    92.9 KB · Views: 4
Hi Vletm,

Thank for your reply.
Its my first time to use the VBA, please help me to understand.
I would like to ask if I need to do the same thing in different worksheet having more than 10tabs, should I copy the VBA? Or just open the file and click the icon of run?
 
Hi,

I tried to use the same in other worksheet but the summary did not finish till the end. Please help me to check.
upload_2015-9-21_20-12-50.png
 

Attachments

  • Chijmes Bar PO 18 May.xlsm.xlsx
    306.3 KB · Views: 2
Oh no! That was my mistake. I didn't test so far. Sorry.
I fixed that feature (You can compare difference) and ...
I find few more things too.
There are some hidden tabs too, which made 'challenge' before I fixed that.
The name of worksheet should be like I use. If it's .xlsx, there could be 'challenges'.
You should copy that 'Sub' to VBA to that file You're using.
It's possible to run from another file too, but then You have to be very careful.
Please test this version.
 

Attachments

  • Chijmes Bar PO 18 May.xlsm
    204.4 KB · Views: 9
Thank you so much it save my time.
I tried insert another info. in the summary, but it doesn't change even I amend in the sub. what should I do. Let's say in column J of each worksheet I need to include it also.
 
Hmm ... that macro do 'almost only' I have written.
It's sensitive to changes. If You change 'something' on one ore more tabs, like 'just move everything one cell to right' ... the 'summary' result can be unwanted.
I didn't make this so so 'perfect' easy to use.
It's possible to modify.
Do You mean 'J7'-cell value or every possible visible values from J-column?
What kind of 'summary-tab'-layout, You have planned?
 
I added 'Invoice #:' to 'summary' and 'totals' to 'P'-col.
... and something that You could think to accept too?
 

Attachments

  • Chijmes Bar PO 18 May.xlsm
    211.9 KB · Views: 11
Back
Top