+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Some sort of IF and Count combination (assumption) help needed

  1. #1
    Registered User
    Join Date
    03-07-2012
    Location
    Belgrade, Serbia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Some sort of IF and Count combination (assumption) help needed

    Guys please help,

    Beginner to excel and have a tricky one...

    Column A contains only I, II, III, IV and V, but this repeats (example, A1=I, A2=III, A3=IV, A4=I... etc)

    Column B contains certain value for each roman figure, and it defers (sometimes I can be 30 and other time 40... (B1= 30, B4= 40))

    What i want in separate table is to add up all values for categories I, II, III, IV and V from the table above.

    How can this be achieved by using a function (not filtering data)?

    If I did not make myself clear, I will try and do it again... Not native English.

    Thx

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Some sort of IF and Count combination (assumption) help needed

    Use SUMIF

    =SUMIF(A:A,"I",B:B)

    etc.

  3. #3
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Some sort of IF and Count combination (assumption) help needed

    You can do this either using SUMIF or a Pivot Table.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Some sort of IF and Count combination (assumption) help needed

    You can use sumif. First get the unique values of the roman numerals in one column. Say column C. Then put this formula in column D -
    Please Login or Register  to view this content.
    Drag down as required.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Registered User
    Join Date
    03-07-2012
    Location
    Belgrade, Serbia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Some sort of IF and Count combination (assumption) help needed

    No worries guys... Figured it out

    by using sumif

    Peace

  6. #6
    Registered User
    Join Date
    03-07-2012
    Location
    Belgrade, Serbia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Some sort of IF and Count combination (assumption) help needed

    hahaha

    many thx guys I posted this before I have seen your comments

    appreciate your 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