+ Reply to Thread
Results 1 to 2 of 2

Creating an array formula in vb

  1. #1
    ram
    Guest

    Creating an array formula in vb

    I have two tables with a one to many relationship

    Table A

    Agent ID Agent Name Commission Date Total commission


    Table B

    Commission Date Agent ID Commission


    Currently I have an array formula in the Total commission column (table A)

    That sums all commission when the agent ID and commission date in table B
    match the agent ID and commission date from table A

    When I make updates to the spreadsheet it runs very slow.

    Is there away to accomplish this task with VB?

    Thanks for any help


  2. #2
    lmn55378
    Guest

    Re: Creating an array formula in vb

    If you don't mind adding in your sheet a pivot table summing commission
    by agent ID and by Comm Date. Your goal could be achieved faster and
    more efficiently than writing a VB code unless you don't have many data
    in your table B.

    DLN.
    ram vi=E1=BA=BFt b=E1=BB=A9c th=C6=B0 c=C3=B3 n=E1=BB=99i dung:
    > I have two tables with a one to many relationship
    >
    > Table A
    >
    > Agent ID Agent Name Commission Date Total commission
    >
    >
    > Table B
    >
    > Commission Date Agent ID Commission
    >
    >
    > Currently I have an array formula in the Total commission column (table A)
    >
    > That sums all commission when the agent ID and commission date in table B
    > match the agent ID and commission date from table A
    >
    > When I make updates to the spreadsheet it runs very slow.
    >
    > Is there away to accomplish this task with VB?
    >=20
    > Thanks for any help



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1