Results 1 to 4 of 4

Thread: [RESOLVED] summ aumont with interesection with two index...

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,941

    Resolved [RESOLVED] summ aumont with interesection with two index...

    With a macro.....please!
    In column A of sheet STAT_L0953 have a value and the same value are
    present also in column A of L0953.
    In column D of sheet L0953 have a value are present also in line 2 of
    sheet STAT_L0953.
    Now intersec the value and summ the value refered the column O (are
    aumont) put the result of the summ in eache cella basec AG. and value
    in line 2 of sheet STAT_L0953...
    Example:

    AG. = 4500
    TIPO SOSP = 146900090000
    cell L3 of STAT_L0953 = 4219320,51

    AG. = 4503
    TIPO SOSP = 111000010000
    cell H5 of STAT_L0953 = 2850,00

    ecc...
    Last edited by luca90; Jan 11th, 2009 at 06:35 AM.

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: summ aumont with interesection with two index...

    Not quite sure exactly what you want, but can't you do it with a pivot table?
    Or are you filling via look ups to the predefined stats sheet?

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: summ aumont with interesection with two index...

    Hi

    Is this what you want?

    Click on the 'Press' Command button on sheet STAT_L0953 to execute code.
    Also check out the function used in the module to get the column name for use in the command button click event.

    I have commented the code so you shouldn't have a problem understanding them.

    Hope this helps...

    [Edit 25/03/2007] : Since the post is resolved.. deleting the attachment as my total attachements have crossed the allowed limit
    Last edited by Siddharth Rout; Mar 25th, 2007 at 08:37 AM.
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,941

    Re: summ aumont with interesection with two index...

    Quote Originally Posted by koolsid
    Hi

    Is this what you want?

    Click on the 'Press' Command button on sheet STAT_L0953 to execute code.
    Also check out the function used in the module to get the column name for use in the command button click event.

    I have commented the code so you shouldn't have a problem understanding them.

    Hope this helps...
    Hi koolsid, Is perfect!!!!!!!!!!!!!!!!
    But how to undertsand my Italian/English/Napolitain????
    Are you a Wizard?
    Tks! pizza for you!, Sure. And tks for comment in code in this mode i can go to to the Univirsity of VB;-)
    Sal.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width