+ Reply to Thread
Results 1 to 12 of 12

Looking to perform a criteria search

  1. #1
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Looking to perform a criteria search

    Hello,

    On sheet1 have a database of information i input.

    On sheet 3 in columns A:D it adds up the number of boxes/ total kilos for each specie from the data in sheet 1.

    On sheet1 in column C it gives the presentation of each specie has "gh" or "wf".

    If one specie has both gh/wf against it is there away in which on sheet 3 i can get the boxes/ total kilos for each specie to differtiate.

    In my example you will see on sheet 3 total kilos for cod is 8855/ Total boxes is 253.
    But my data on sheet 1 shows Cod Whole(wf) is 102 Boxes/ 3570 Kilos. Cod Gutted (gh) 151 Boxes/ 5285 Kilos.
    Attached Files Attached Files
    Last edited by AliGW; 02-24-2020 at 05:44 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,915

    Re: Index/ Sum if Formulae

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Looking to perform a criteria search

    Sorry, the file you talk about is absent

  4. #4
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Looking to perform a criteria search

    Thanks for pointing that out. I have now uploaded the file.

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Looking to perform a criteria search

    Quote Originally Posted by Dom.Knight View Post
    In my example you will see on sheet 3 total kilos for cod is 8855/ Total boxes is 253.
    But my data on sheet 1 shows Cod Whole(wf) is 102 Boxes/ 3570 Kilos. Cod Gutted (gh) 151 Boxes/ 5285 Kilos.
    Everything seems be OK? What is your issue?
    Quang PT

  6. #6
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Looking to perform a criteria search

    Data is only entered on sheet 1. sheet 2 and 3 are reports based on data from sheet1.

    On sheet 3 it takes all the data and adds up the kilos and boxes for each specie from data in sheet1.

    But if each specie has both wf/ gh marked against it in sheet 1 i want to seperate it on sheet 3 to show this rather than adding up the total for all.

    so for example id like sheet 3 to show:

    A6 = COD, B6 = GH, C6 = 151, D6 = 5285
    A7 = COD, B7 = WF, C7 = 102, D7= 3570
    Last edited by Dom.Knight; 02-21-2020 at 07:00 AM.

  7. #7
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Looking to perform a criteria search

    i Already have an index/ match/ count if formulae on sheet 3 in column A6. Can that be amended to give me the new answer that im looking for above.

  8. #8
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Can someone help with a new formulae based on one i already have.

    First in sheet1, remove duplicate title below.
    In A6, sheet 3:
    Please Login or Register  to view this content.
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Drag to B6
    C6:
    Please Login or Register  to view this content.
    D6:
    Please Login or Register  to view this content.
    Drag all down
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Can someone help with a new formulae based on one i already have.

    Hi thats great, however i wish to keep the duplicate title. is that possible ?

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,915

    Re: Can someone help with a new formulae based on one i already have.

    Why did you change the title again? It's now not meeting forum requirements, so I will change it back. Please don't do this again.

  11. #11
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Can someone help with a new formulae based on one i already have.

    Quote Originally Posted by Dom.Knight View Post
    Hi thats great, however i wish to keep the duplicate title. is that possible ?
    It is so complicated. All info i the range must be extracted into the unique distinct list.

  12. #12
    Forum Contributor
    Join Date
    03-14-2017
    Location
    london, england
    MS-Off Ver
    office 365
    Posts
    173

    Re: Can someone help with a new formulae based on one i already have.

    ok.
    The orginal formulae in cell A6 on sheet 3 :-
    =INDEX(sheet1!$B$7:$B$102,MATCH(0,COUNTIF($A$2:A5,sheet1!$B$7:$B$102)+(sheet1!$B$7:$B$102="Species")+(sheet1!$B$7:$B$102=0),0))

    Allowed me to ignore the word "species" which appears as a sub heading every so often in column b of the data set on sheet 1 and gave me all the species that had been entered in that column.

    Could something similar be written in to the new formulae posted in the above post. Just i wish to keep the sub headings at the top of each page when priting off the data on sheet 1.
    Last edited by Dom.Knight; 02-24-2020 at 10:06 AM. Reason: More desc.

+ 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. [SOLVED] INDEX and MATCH Formulae for Safety KPIs
    By VisionSmart in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 05-09-2019, 01:23 AM
  2. [SOLVED] Multiple IF Formulae Instead Of Index & Match
    By Excel-Access in forum Excel General
    Replies: 2
    Last Post: 03-09-2019, 04:14 AM
  3. [SOLVED] Can this be solved with VLOOKUP or INDEX formulae?
    By heliskier89 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 07-19-2018, 05:59 PM
  4. Merging two index function formulae effects
    By jm0258 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-09-2016, 08:29 AM
  5. [SOLVED] Using INDIRECT with a dynamic range name as the array in an INDEX formulae = #REF
    By Gandalf21 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-12-2013, 09:27 AM
  6. [SOLVED] Understand lookup, index & match formulae
    By Dushantha in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-18-2012, 05:50 AM
  7. Combining index, address, reference-type formulae
    By cmboulter in forum Excel General
    Replies: 4
    Last Post: 12-22-2011, 11:27 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