Results 1 to 4 of 4

multiple sort function and combine cell

Threaded View

  1. #1
    Registered User
    Join Date
    02-11-2013
    Location
    new York
    MS-Off Ver
    Excel 2007
    Posts
    5

    Question multiple sort function and combine cell

    Hi,

    Am trying to do a macro to sort thing data that we have but its above my skills so if anyone can help.

    I have attached a spreadsheet.
    In Sheet1 is what we have. then detail and average is what we should obtain at the end.

    in detail sheet:
    Column A (take from Sheet1/Order OrderSide column with 1=Buy and 2= Sell)
    then the others cells are sorted
    1- by exchange (replacing code in Sheet1/columnK by the code table in Ex Code sheet
    2- by strike in column F
    3 -by Option Type (Call/Put)
    4- by price

    column E,F and G are a split of Column F in Sheet1.


    in average sheet:
    we need an average (price) of the detail in Sheet1. so we need 1 line per exchange per structure
    line 2 for example is equal to the sum of size in Sheet1/Quantity per structure and column H is the average price (sum Column G divided by Sum Column D) per structure

    let me know if you can help and if you need more information/clarification

    really appreciate
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 08-05-2013, 01:52 PM
  2. [SOLVED] how to combine multiple conditions with search functions and macro the function
    By melvyndb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-27-2012, 05:45 AM
  3. how to combine multiple conditions with search functions and macro the function
    By melvyndb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2012, 07:11 AM
  4. [SOLVED] HLookup, IF statement, multiple sort, somehow combine all of these
    By Gita at CASTLE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-02-2006, 02:50 PM
  5. Replies: 1
    Last Post: 08-25-2005, 03:43 AM

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