+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    01-19-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Conditional Counting, then displaying data in new sheet.

    Hi,

    I have a spreadsheet which contains many values under different headings eg.

    Job# Type Value1 Value2 Value3
    111 A 1 0 1
    112 B 1 1 1
    113 A 0 . 0
    114 C . 0 1
    115 B 1 0 1
    116 A 1 1 1
    117 A 1 1 1


    The above is stored and added to on a weekly basis on Sheet1. (Sometimes data in the "Value" Columns are blank, for this example I have put an "." as blanks don't show here too well.)

    I need a macro that is able to sort out this info in a new sheet, for eg.

    ......... Column1
    Row1 Count1 (where Type=A & Value1=1 ) (eg using data above =3)
    Row2 Count2 (where Type=A & Value2=1 ) (eg using data above =2)
    Row3 Count3 (where Type=A & Value2=1 & Value3=1) (eg using data above =2)

    Row4 Value of Type (where Type=A & Value1=1) (eg using data above = 111, 116, 117) however i need these values placed on seperate rows directly underneith each other.


    I hope that somebody is able to help me with this somwhat unusual request.

    Your assistance is appreciated in advance.
    Last edited by novice1; 01-19-2010 at 08:26 AM.

  2. #2
    Registered User
    Join Date
    01-19-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Post Re: Conditional Counting, then displaying data in new sheet.

    Here is my example in Excel format, it may make it easier to understand what I'm on about...
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0