+ Reply to Thread
Results 1 to 5 of 5

Formula to select lines below one specific category

  1. #1
    Registered User
    Join Date
    11-10-2020
    Location
    Lisbon
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    7

    Formula to select lines below one specific category

    Hello to everyone,

    I am writing in the forum because I want to create an excel sheet that returns the value that is in the excel sheet named "GASTOS" and that the value associated with the categories shown in the excel sheet "Balanço". I will upload some screenshots in order to help the readers to understand what I want to do.

    Also, I going to give an example from what I want to do: I want the value that is under the "Consumíveis" category to appear in the excell sheet name "BALANÇO", and I want that all the values from each month get summed up.

    The category "Consumíveis" is marked with a rectangle in red, whereas the blue arrow indicates where is the value.

    Best regards,

    Pedro Patrício.
    Attached Images Attached Images

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Formula to select lines below one specific category

    The data layout is rather unconvenient to do what you ask for. But to let us try to answer (and allow you to implement our ideas) it would be good idea if you follow the advice given in a yellow banner above and post not (only) screenshots, but also a workbook.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    11-10-2020
    Location
    Lisbon
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    7

    Re: Formula to select lines below one specific category

    I solved the problem. It took some time, but it's done.

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Formula to select lines below one specific category

    Good to hear so.
    It would be nice if you publish (attach) small sample file with your solution for those who will find this thread using either forum's or general search tools.

  5. #5
    Registered User
    Join Date
    11-10-2020
    Location
    Lisbon
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    7

    Re: Formula to select lines below one specific category

    Hello, Basicaly I used the SumIf function to each element. MY sheet is made to control the values that I spent each day, so I created a sheet where I have several "objects" and within each there is a value and a category. The sumif function gathers the data from each "element", to do that I used a function made of several sumif's like for example: =Sumif(B6:D6;"name of the vategory";B7:D7) + Sumif(B12:D12;"name of the category";B13:D13) + ...)

    Hope you understood,

    Best regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 11-20-2018, 06:21 PM
  2. [SOLVED] How to move markers (Data Points) of three lines at same category?
    By laiqkhan in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 04-16-2015, 03:28 PM
  3. [SOLVED] Formula to place a list of names under a specific category
    By Shellybelly in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2014, 02:21 PM
  4. Pivot Chart Trend Lines by x-Axis category
    By Centexcel in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-28-2013, 04:07 PM
  5. [SOLVED] Productsum: Highest Frequency Category, Specific Main Category, Frequency of Category
    By T86157 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-24-2012, 12:43 PM
  6. [SOLVED] LONG CATEGORY AXIS LABELS ARE BROKEN INTO 2 LINES
    By Alejandro in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-11-2006, 01:50 PM
  7. 255 lines in value or category X labels
    By Matthew C in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-24-2005, 01:06 PM

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