Which formula(a) do I use to select any value that is than 0 but 7 out of a range of cells and sum them.

I'm working on a sheet that I want to use to select a specific part based on values created by the sum of values in other cells. I am down to the point where I need to select a low range of numbers
If the sum of cell D5 equals any sum between 1-15 will equal = part 1
If the sum of cell D5 equals any sum between 16-23 will equal = part 2 ,
If the sum of cell D5 equal antsy sum between 24-32 will equal part 3.
I'm at a loss how to make one formula or combination of formulas do this.
Thanks in advance.
Big Al Hur

Hi Al,
The confusion arises from your having asked two separate questions, one in the subject line, the other in the body of your initial post.
1.
How do I sum only the values greater than zero and less than 7 in a range of cells?
This formula supplied by SGIII does what you have asked there:
=SUMIFS(A,A,">0",A,"<7")
The syntax is:
SUMIFS(sum-values, test-values, condition, test-values, condition…)
sum-values ( A ) is the range of cells containing the values to be summed (all the body cells in column A)
test-values and condition come in pairs. the first names the range of values to be tested, the second names the condition that must be met.
In this formula, the test-values in each pair are the same as the sum values.
condition ( ">0" ) is the first condition that must be met by these values. (greater than zero)
the second condition ( "<7" ) is the second condition that must be met (less than seven)
To be included in the sum, a value in the list must meet both conditions: It must be greater than 0 AND less than 7. IN SG's example, there are two values that meet both conditions, 2 in A2 and 6 in A5, that meet both conditions. Their sum, 8, is shown in A10, whch is the cell containing the formula.
2
If the sum of cell D5 equals any sum between 1-15 will equal = part 1
If the sum of cell D5 equals any sum between 16-23 will equal = part 2 ,
If the sum of cell D5 equals any sum between 24-32 will equal part 3.
This formula supplied by SGIII, and the Lookup table that goes with it, does what you have asked here.
=VLOOKUP(D5,Lookup::A:B,2,close-match)
Close-match means 'the largest value that is less than or equal to' the search-value.
The search-value is the value in D5
VLOOKUP searches in the leftmost column (A) of the lookup table (columns A and B of the table named Lookup).
With "close-match" specified:
any value that is equal to or greater than 0 and less than 16 will be matched by the 0 in A2. VLOOKUP will return the value in the same row of column 2 (B) of the table: "Part 1"
any value that is equal to or greater than 16 and less than 24 will be matched by the 16 in A3. VLOOKUP will return the value in the same row of column 2 (B) of the table: "Part 2"
any value that is equal to or greater than 24 will be matched by the 24 in A4. VLOOKUP will return the value in the same row of column 2 (B) of the table: "Part 3"
While this is not an exact match with your description above, it will perform exactly as you requested IF the value in D5 is never less than 1 and never greater than 32.
If the possible range is greater than that, I would suggest the changes shown below to the formula and to the lookup table. The column containing numbers is column D, and represents values in D5. Column E shows the result for each value using the given formula and lookup table (LU A). Column F shows results for the same values using the revised formula and lookup tble (LU B):
Original                              =VLOOKUP(D,LU A :: A:B,2,1)
Revised formula: =IFERROR(VLOOKUP(D,LU B :: A:B,2,1),"N//A")
In the revision, IFERROR takes care of the negative values in D2 and D3. The zero value in D4 and in the last row of column D and the overflow values (greater than 32) are handled by the revisions to the lookup table.
Regards,
Barry

Similar Messages

  • HT4718 hi. okay so I updated my mac and now i can't open my iMovie and my iPhoto because I downloaded them from a separate account, which I don't remember. Is there any way that i can find out the apple id i used to download these two apps?

    Or is there another way i could download iphoto and imovie? (cuz when i try to download it with my new id it says that it cannot be purchased with my new id.)

    I'm not sure if this will work, but try using LaunchPad. Hold down the option key while hovering over iPhoto and click the X that appears.
    If the Option key doesn't make it show, click and hold until it giggles. Then the x should appear.

  • I am trying to confirm the time at which a particular backup occurred using an external hard drive that I have since misplaced. Although time machine lists the backup times for some backups, it does not list them for all. Can someone help?

    I am trying to confirm the time at which a particular backup occurred using an external hard drive that I have since misplaced. Although time machine lists the backup times for some backups, it does not list them for all, including the one in question. Can someone help?

    Okay, I've sussed it.  I saw a link to another discussion that hadn't turned up in any of my searches before I posted the question above.
    My Tosh HDD was formatted to FAT 32 and therefore would not be backed up by Time Machine.  I removed all data from it - nightmare as I hadn't enough space to put it on the macbook HDD, but, after trawling through numerous photos and deleting rubbish for hours, I finally made enough space and copied all data across.  Then, after clearing the data from the Tosh HDD, I used disk utilitity to reformat it to Mackintosh OS Extended.  Chose the option without kournalling because I'm not baking up onto this disk and so don't need it - according to some other discussions I found.
    When it was done I check on time machine in system prefs and once I selected options, I was able to remove it from the excluded from backups list.  Hey presto.  Now I'm moving my photo library and my music library onto the Tosh HDD and my macbook should start to breath again.  Hurray.

  • My users folder has 140GB used on it, but I cannot find where it is getting that calculation. I went through all of my folders and opened them all in an info panel, and they all come out to about 30GBs. Where is the rest of the data? -Using Mountain Lion

    My users folder has 140GB used on it, but I cannot find where it is getting that calculation. I went through all of my folders and opened them all in an info panel, and they all come out to about 30GBs. Where is the rest of the data? -Using Mountain Lion

    First, empty the Trash if you haven't already done so.
    Use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Triple-click the line of text below to select it, then drag or copy — do not type — into the Terminal window:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Press return. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • How to call a method defined in AM when I select any value in LOV

    Lets say there is a LOV. The scenario is as soon as I select any value in LOV, a method needs to be called which I have written in the AM. And the output of the method is displayed in a output text box.
    I am not able to understand how to call a method when the user selects any value in LOV.
    This is wht I did. I had created the binding for the method. Changed the autosubmit property of the LOV to True, and in the properties of the output box, in the partial submit trigger property, passed the ID of the LOV. But I didnt get any place where I need to call the method. I am also not able to drop an action listener on the LOV

    Hi,
    +"its showing an error(underlined in orange)."+
    Any reason you don't share this error with us? Anyway, here is how it goes
    1. LOV, set autosubmit="true" and configure a value change listener
    2. Expose the AM method as a method binding in the PageDef file
    3. In the value change listener:
    BindingContext bctx = BindingContxt().getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    OperationBinding method = (OperationBinding) bindings.get("name of method binding in PageDef");
    method.getParamsMap().put("argument name1", value1);
    method.getParamsMap().put("argument name2", value2);
    Object retVal = method.execute();
    if(!method.getErrors().isEmpty()){
      //handle errors
    else{
      //write retVal to the managed bean variable that is referenced by the outputText value property
      //PPR output text component
      ADFFacesContext.getCurrentInstance().addPartialTarget(outputTextRef);
    }Note that you may have to set clientComponent = "true" on the output text component
    Frank

  • Select any value with CTRL + mouse click

    Hi all,
    since ERP 6.0 and SAP GUI 6.40 I am used to be able to select any value in any input or display field (e.g. the name of a field of a table in transaction SE11) via holding down the CTRL key while clicking onto the desired value/field once. Then the whole value/string is selected.
    Now I am working on a freshly installed system but I can't find this setting anywhere. It does work to select a word within the ABAP source code editor, but not for any other, "normal" input fields.
    Any ideas where I can set this?
    Kind regards, Matthias

    Have a look at the last button on the right of the application toolbar. Button looks like monitor with test screen. Click it and use options.

  • Please  i went back a refund i use my  account without a credit card  than i purchase a app with 200 dollars and it was purchased an d my account do nest have a credit card

    please  i went back a refund i use my  account without a credit card than i purchase a app with 200 dollars and it was purchased and my account does not  have a credit card  and the money was taken from the credit card

    Contact iTunes:
    Apple - Support - iTunes - Contact Us

  • TS3694 Hi I am trying to update my I Tunes to 10, the message I get is ,, The feature you are trying to use is on a network that is unavailable,, click ok to try again, or enter and alternative path to program I Tunes.msi ....HELP

    Hi I am trying to update my I Tunes to 10, the message I get is ,, The feature you are trying to use is on a network that is unavailable,, click ok to try again, or enter and alternative path to program I Tunes.msi ....HELP

    What computer OS and version do you have?
    If you have windows try:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • I am trying to use Photoshop 10. After my catalog loads. I am told to log into my account. My user name is correct and I use a new password. That password lets me log in to my Adobe account and even allowed me to loadp

    I am trying to use Photoshop 10. After my catalog loads. I am told to log into my account. My user name is correct and I use a new password. That password lets me log in to my Adobe account and even allowed me to load a 30 day trial of PS14i After I enter  the password I am never allowed to go any further, What do I need to do to get into my catalog?

    I regret that you're having trouble setting up your email, corbad! You're on the right track with your incoming email address. You might also try incoming.verizon.net or incoming.yahoo.verizon.net as possible alternatives, and 995 as the port number. Please let me know how that goes!
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • I can't update iMovie, just to clear the red spot on the menu bar since I don't use it, update says I need to purchase but I have iMovie 9.0.4 and update is 9.0.6, do I need to purchase?

    I can't update iMovie, just to clear the red spot on the menu bar since I don't use it, update says I need to purchase but I have iMovie 9.0.4 and update is 9.0.6, do I need to purchase?

    Disclaimer - For me the Apple Support Communities are an international user to user technical support forum. As a man from Mexico my first language is Spanish. I do not speak English, however I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture very different from that found in most 1st world nations, such as that in the two dominant North American countries. Written language has no tone. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    You are confusing two different versions of the iMovie app. You have downloaded an update to the boxed version that Apple sold in the past. Yoi cannot update the version that Apple now sells in the Mac App Store with that update.

  • Return all data without selecting any value in query filter

    Hi,
    I created a document with query filters(prompt, LOV). But sometimes users don't want to select any value and just want to return all data in the report.
    I can't find a way to achieve this. Does anyone know how to implement this ?
    Thanks.

    Hi,
    you can modify the "select" statement for your LOV and add an additionaly keyword like "ALL" in your list of values. Then you can modify your where-clause to handle the "ALL" keyword.
    E.g. (<your condition>=@prompt(....) or 'ALL'=@prompt(......) )
    Regards,
    Stratos

  • Hello, I live in the Netherlands and my friend is going to bring me a MAC and an Iphone. I was just wondering is there international warranty? Other question is that can I use Iphone with any simcard that I want? Thanks in advance!

    Hello, I live in the Netherlands and my friend is going to bring me a MAC and an Iphone. I was just wondering is there international warranty? Other question is that can I use Iphone with any simcard that I want? Thanks in advance!

    There is an international warranty on the Mac, but not on the iPhone...iPhone warranties are tied to the country of purchase.  Iphone 5s are currently only available in the US tied to a carrier, you cannot use another nano-sim card in them.

  • If i buy an iphone 5s sprint can i use it for CDMA? I ask that because i went out of the country one time and used it on a CDMA network but that was my iphon 5 not an i phone 5s.

    if i buy an iphone 5s sprint can i use it for CDMA? I ask that because i went out of the country one time and used it on a CDMA network but that was my iphon 5 not an i phone 5s.

    Sprint is a CDMA carrier, same as Verizon so it will work on CDMA.

  • Parameter weirdness: Report not using user selected parameter value

    I am writing my first report and cannot for the life of me figure out how to deal with this issue.
    When I call a report and pass the parameters in, it appears that the user cannot then change the parameter values and run the report again even though the parameters are displayed. When user hits run report, the values revert to what was passed in by original
    call.
    Scenario
    Report B has Parameter Period : Month, Quarter, Year displayed in a drop down list.
    Report A calls Report B and passes it the parameter: Quarter.
    Report B loads. User now changes parameter to Year via the drop down parameter list and hits Run Report.
    Instead of loading the report with user selected value (Year), it reverts back to the parameter it was called with, Quarter.
    I have tried changing the refresh option on the parameter to always, but no joy.
    The only way that seems to work is to put textboxes on the report to change the parameter.
    How can I stop this behaviour, and use the users new selection. 
    This should be really straight forward, and its driving me nuts that its not allowing the user to change the parameters
    Any help would be much appreciated.
    Thanks Jon

    Hi Jon,
    Did you use SSRS 2012? Based on my test, the issue is occurred in SSRS 2012 Business Intelligence Development Studio (BIDS). When we deploy the report to report server, it will disappear.
    In this situation, we can add another duplicate parameter to work around this issue. Please add two parameters in the report, and then hide one of the parameter. We can pass the parameter value to the hide parameter. If we want to select other values, we
    can change the visible parameter values.
    Alternatively, I recommend you that submit this suggestion at
    https://connect.microsoft.com/SQLServer/. If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the
    level of service provided.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • How can I select rows of cells and merge them vertically into one cell in each column?

    I'm working in CS4 and need to be able to select 2 to 6 rows of cells (with many columns) in a table and then merge the selected cells vertically into one cell in each column. A few cells in the chart will not need to merge so I must select the ones that do. I have almost 100 pages of charts with cells that need merged this way by Tuesday. Please help!
    Top chart example needs to change to the bottom example.
    Header 1
    Header 2
    Header 3
    Header 4
    Header 5
    Header 6
    100
    600
    300
    600
    20000
    120000
    2000
    500
    400
    50000
    10000
    5000
    3000
    200
    700
    67
    122
    600
    900
    100
    2
    7
    123
    1110
    Header 1
    Header 2
    Header 3
    Header 4
    Header 5
    Header 6
    100
    500
    200
    100
    600
    400
    700
    900
    300
    5000
    30000
    2
    600
    10000
    67
    7
    20000
    2000
    122
    123
    120000
    5000
    600
    1110

    SmartCellMerge may help you:
    http://www.indiscripts.com/post/2012/04/improve-the-way-you-merge-cells-in-indesign
    @+
    Marc

Maybe you are looking for

  • Java Plug-in 1.3.0_02 nor 1.3.0_01 won't launch

    Help, I have installed JSDK 1.3.0_01 and 1.3.0_02, I get the same results, neither one will launch from control panel. I have checked the registry and everything seems to be fine. I am installing the application on WindowsNT 4.0 Svc pk 6 server with

  • Embedded flash in PDF - Adobe links not working

    Super annoyed here. We have a bunch of PDF's used in public education by teachers all over which have flash embedded (yes some not so smart person created them) Until 3 weeks ago Reader would send the user to the page: Acrobat Help | Flash Player nee

  • BAPI's used in SAP SRM

    what are the BAPI's used in SAP SRM?

  • How do I get audiobooks onto my iphone 5?

    How do I get audiobooks onto my iphone 5?  I don't have the option available in my music app.  audiobooks isn't there at all. When I can see my iphone on itunes in my computer it doesn't give me the option to sync audiobooks. I can't even find them w

  • CS4 Color Management Settings - Confusing for Brother Laser Colour Printer

    I am new to Brother's Color Laser Printer and setting up the Color Management with CS4 for a document. Contacted Brother and they do not have informaton for Adobe Products. Here's what occurs when on the Print Screen: Under 'Options'  - CS4 has insta