Alternative to isblank for a range of cells

Hi,
I am trying to get a formula using countifs that will return the number of cells containing a checkbox with a "true" value if a related cell on a different row is not blank.
In my mind this would look somewhat like =countifs(checkbox range, true, isblank(range b), false)
Is there a function that does what isblank does for a range of cell? Or should I use another function?
Thanks for the help!

Hello,
The above answers seemed alright but they do not get to the heart of the issue that I am having in trying to get summary data on a range of particular cells +determined by a condition+. For this purpose the SUMIFS and COUNTIFS functions are brilliant because you can isolate a range based on conditions; for example, getting rows with a particular string and number.
I have a long list of newspapers, each with a city, year and rank by population. There are about 10 decades and many different cities (which change as the rankings change), totaling over a thousand rows. The year, rank and city often repeat but the newspapers are all unique.
It was easy to count the number of newspapers by rank (or city) and year using COUNTIFS but there seems to be no corollary for the MAX (or LARGE) function. I need this because I have circulation numbers and I'd like to know what the MAX circulation is for each city (or rank) in each year.
This means I need to be able to pluck out a max value for a range of cells based on a calculation. It seems ridiculous to have to put in row numbers in: there should be a simple way to perform a test on a defined range using conditions.
Hopefully I am simply missing how that is done. Thanks ahead of time,
Jamil

Similar Messages

  • Mapping input values for a web service connection to a range of cells

    I've created a web service connection in Xcelsius data manager. My web service requires an array of integer as input parameter. How do I map input values for a web service connection to read from a range of cells in the spreadsheet, e.g. $A$2:$A$20, in similar way of mapping output values to write to a range of cells in the spreadsheet?
    For output values of the web service, I can specify to map the output values to write to a range of cells. However, it doesn't seem to work for reading the input values.
    I can map input values for each node to a single cell, e.g. $A$2, in the spreadsheet. However, when I set the "Read From" field to a range of cells, e.g. $A$2:$A$20, it only reads in the first value in the range.
    Is there any way that we can do this mapping for input values as we do for output values?
    Your assistance is very much appreciated.
    Regards,
    Van

    Van,
    There is a workaround for that...
    Example:
    My Webservice accepts input data range in a specific format with " :" symbol, i.e. 072008:082008
    Now what i do is
    A1 = 072008
    A2 = 082008
    A3 = CONCATENATE(A1,":",A2)
    so A3 = 072008:082008
    Now i map the input value in web service to cell A3
    P.S have 2 input box components and map it to cells A1 and A2, i.e you are giving users an  option to enter the range of values...then web service will capture the range and refreshes data with the range of values user entered.
    hope this helps..
    -Anil

  • How do I insert  a cell or range of cells in Numbers?

    From what I've read, one has to highlight and move cells to create the space for the new cells.  This may be fine for small tables, but I have an inventory that currently has over 2000 lines of data.  So if I need to add a line of data at row 2, then I would have to highlight 1998 lines of text, which takes a few minutes (holding down the shift and down arrow keys, which only highlights the cells on the screen, so I have to scroll down until my highlighted area ends at the top of the screen, highlight the current page, scroll down, highlight, etc., until I get all 1998 lines highlighted). Then drag them down one line. Then go back up and enter the data.
    Can I just say that that is ridiculously complicated in the year 2012 (almost 2013)?  Why not just have the same insert function that Excel has, where you can insert the cell or range of cells with a couple of keystrokes?
    Is there some easier way to manage this data on my Macbook? Or did I waste $2000 on this computer?   Thanks.

    You may have wasted $20 on Numbers? I don't use it - I've been an Excel user since 1985 and it's still what I use today.
    If, indeed, there's no shortcut for the procedure that you describe (and we'll have to wait for some Numbers experts to chime in on that) why not just buy MS Office 2011 for Mac? You can get a trial version here -> https://www.microsoft.com/mac/trial.
    But, hopefully, a Numbers user will come along with a simple solution...
    Clinton

  • Set Width for a column, Merge cells in Excel

    Hi all,
    I am using jacob.dll to open and modify an Excel file. And I am stucking in below trouble:
    Dispatch workbook = Dispatch.invoke(workbooks, "Open",
              Dispatch.Method,
              new Object[]"D:\\02042005.xls",
              new Variant(false), new Variant(false)},
              new int[1] ).toDispatch();
    Dispatch sheet = Dispatch.get(workbook,"ActiveSheet").toDispatch();
    System.out.print(sheet.get(sheet,"Name") + "\n");
    Dispatch a1 = Dispatch.invoke(sheet, "Columns",
              Dispatch.Get,new Object[] {"A:A"},
              new int[1]).toDispatch();     
    Dispatch.put(a1,"Width","8");
    Error message is that I can not set value Width for object RANGE! so strange... Is there any ways to set Width for a certain column?
    Any help is appreciated.
    Regards,
    YukiNguyen

    Hi all,
    :) At last I can work done with Jacob, so great :) take me all yesterday to find more... just hope this post can help someone like me save one day to find how :)
    //Get Range
    Dispatch orange = Dispatch.invoke(osheet,"Range",Dispatch.Get,new Object[]{"A1:I1"},new int[1]).toDispatch();
    //Get Column I & set Width
    ocolumn = Dispatch.invoke(orange,"EntireColumn",Dispatch.Get,new Object[]{"I"},new int[1]).toDispatch();
    Dispatch.put(ocolumn,"ColumnWidth","60");
    //Merge cell
    orange = Dispatch.invoke(osheet,"Range",Dispatch.Get,new Object[]{"C12:D12"},new int[1]).toDispatch();
    orange.call(orange,"Merge");
    Is it exciting, huh? :) I am trying to set HorizontalAlignment... beginner always stuck in somethings :)... but I have learnt so much
    Regards,
    YukiNguyen

  • How to make table cell drop down menu from an existing range in cell

    Is this possible?? Checked all over the web & coming up empty. Trying to avoid re-typing in contents from previously created tables in the cell format pop-up menu. Please help.

    I don't think there is an easy way to do this unless Yvan comes up with a script for you.
    One option is to select the range of cells and copy/paste to TextEdit (yes, surprisingly it'll take a range of cells) then from TextEdit you can copy/paste each cell's contents one at a time to the popup menu list. Still a pain but it might be easier than other methods. The workflow I found quickest was to position TextEdit near the Inspector pane (which is open to the Cell inspector with your popup in it) and have the top of the Numbers window nearby. Double click on one cell's contents in TextEdit then Cmd-C to copy, click on the Numbers window up in the toolbar to make Numbers active again without selecting a different cell, then put the contents in the inspector (hit + then paste with Cmd-V). Repeat.
    Message was edited by: Badunit

  • 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

  • Numbers   Select a large range of cells

    I select a cell to enter a formula. The key board pops up and I select the Average function. I then try to select a large range of cells, but unable to do so because the Numbers screen will not scroll. I select the cell directly above the keyboard, but when I move my finger up to select 25 rows, I can only move up about 6 rows.
    This is using Numbers on an iPad. What advice can you give me for correcting my error.
    Thanks

    Here is an answer that worked great for me. I found it here:
    Concatenating a Range in Excel
    You'll have to adapt it for your spreadsheet:
    A
    B
    (result)
    1
    Apple
    2
    Baker
    =A1&A2
    AppleBaker
    3
    Charlie
    =B2&C1
    AppleBakerCharlie
    4
    Denver
    =B3&C2
    AppleBakerCharlieDenver
    5
    Edward
    (etc.)
    You just concatenate two cells together (using the '&' concatenation operator), and then in the next cell you just add on to the end of the result. So that by the end, you have them all in one long string.
    You might say "But I have to write out all those formulas". No. As you know, you can just copy the formula to the next cell and Numbers will change the references for you.

  • Cost Analysis Report - For a range of process orders

    Dear all,
    Is there a standard report available to get the cost analysis for a range of process order? COR3 --> Go to --> Cost --> Analysis. Here I can see the cost analysis for one report. But I wanted to get the cost analysis report for a range of process orders. Please help.
    Thanks
    Nagarajan

    Dear
    You can use cost analysis report like
    1.S_ALR_87099932 - Variances Between Costing Runs
    2.S_ALR_87099931 - Price vs Cost Estimate
    3.S_ALR_87099932 - Variances Between Costing Runs
    5.KOC4
    Regards
    JH

  • Interval 01 was not created for number range object HRTEM_REFN

    Dear expert!
    Now, I'm getting some issues in Training and event management module.
    - The first, I created business event
    - Second, I process to book for business event by tcode: PSV1 --> book --> book/payment info --> activity allocation.
    But when I was booking, the system displayed error: "Interval 01 was not created for number range object HRTEM_REFN"
    Help me, please!
    Best regards, Huy!

    Go to the customization as below
    Training and event mgt>Basic settings>Number range maintanence>Define number ranges for External operation
    and maintain number ranges as 01 Internal
    Hope ur problem will solve
    with regards
    partha

  • F4 help for only a single cell in a table

    Dear All,
    The requirement here is to provide input help for only a particular cell in a table.
    This cannot be achieved by assigning search help to the attribute of the context as this will render all the cells of that particular column with F4 help. I tried applying the cell variant concept but only go up to a certain extent.
    I tried OVS as well. But for this to work we need to lead select the entry and then go ahead with F4, which will make is inconvenient for the user.
    I even searched the forum for some answers, but i could only go to a certain extent with the help of those.
    So, if anyone out there has any idea, please help me out. Also, if this is a repeat post by any chance (i think not) kindly provide me with the link of the original.
    Thanks and Best Regards,
    Pramod

    I am running older versions, so i didn't find any sample dynpros..
    You can try with this peace of code..nyways..
    DATA: LR_TABLE TYPE REF TO CL_WD_TABLE.
    DATA: LR_COLUMNS TYPE CL_WD_table_column=>tt_table_column.
    DATA: LR_COLUMN TYPE REF TO CL_WD_TABLE_COLUMN.
    DATA: LR_EDITOR TYPE REF TO CL_WD_VIEW_ELEMENT.
    DATA: LR_TEXT   TYPE REF TO CL_WD_TEXT_VIEW.
    DATA: BINDING TYPE STRING.
    DATA: LR_CELL TYPE REF TO CL_WD_TABLE_STANDARD_CELL.
    IF FIRST_TIME EQ ABAP_TRUE.
      LR_TABLE ?= VIEW->GET_ELEMENT( 'TBL_COMPONENTS' ).
      LR_COLUMNS = LR_TABLE->GET_COLUMNS( ).
      LOOP AT LR_COLUMNS INTO LR_COLUMN.
        LR_EDITOR ?= LR_COLUMN->GET_TABLE_CELL_EDITOR( ).
        BINDING = LR_EDITOR->BOUND__PRIMARY_PROPERTY( ).
        IF BINDING EQ 'RRSO.SOCOMP.POSNR' OR
           BINDING EQ 'RRSO.SOCOMP.MATNR' OR
           BINDING EQ 'RRSO.SOCOMP.KWMENG' OR
           BINDING EQ 'RRSO.SOCOMP.NETPR' OR
           BINDING EQ 'RRSO.SOCOMP.POPRICE' OR
           BINDING EQ 'RRSO.SOCOMP.QUANTITY'.
           LR_CELL = CL_WD_TABLE_STANDARD_CELL=>NEW_TABLE_STANDARD_CELL( VIEW = VIEW
                                VARIANT_KEY = 'TOTAL' ).
           IF BINDING EQ 'RRSO.SOCOMP.QUANTITY'.
             LR_TEXT = CL_WD_TEXT_VIEW=>NEW_TEXT_VIEW( VIEW = VIEW
                                                       TEXT = 'Total'
                                                       H_ALIGN = CL_WD_TEXT_VIEW=>E_H_ALIGN-FORCED_RIGHT ).
           ELSE.
             LR_TEXT = CL_WD_TEXT_VIEW=>NEW_TEXT_VIEW( VIEW = VIEW ).
           ENDIF.
           LR_CELL->SET_EDITOR( LR_TEXT ).
        ENDIF.
         LR_COLUMN->ADD_CELL_VARIANT( LR_CELL ).
      ENDLOOP.
    ENDIF.
    This code is for setting Text View as cell editor, instead text view u can take input field and use bind_value method to bind with another context attribute.
    Abhi

  • Create a VC Model for BEx queries with Cell Editor

    Hello All,
    I am trying to create a VC Model for BEx queries with Cell Editor.
    BW Development Team has created a BEX query with complex restrictions and calculations using Cell Editor feature of BI-BEX.
    The query output in BEx analyzer is correct where all values are being calculated at each Cell level and being displayed.
    But, while creating VC model, system is not displaying the Cells.Thus, no VC Model can be created.
    I have executed below steps:
    1. Created a VC Model for BEx Query - ZQRY_XYZ
    2. Create Iview -> Create a dataService -> Provide a Table from the Output
    In the Column field system is not showing any of the Cells (present in Cell Editor)
    Please help me to solve this issue.
    Thanks,
    Siva

    Hi
    If 'Cell Editor' is been used then that query must have the structure in it. You have to select that 'structure' object in your 'VC Table'.
    If you select that then you will get the required result in the output. This structure will be the structure where 'cell reference' is used in BI query, You have to select that structures name.
    Regards
    Sandeep

  • Delete values for a range

    Hi ,
         I want to delete records only for a given range. Below is the script it deletes the records based on the given MP range.
    And in this Switch table screen shot i have a switchID and ControlPointID column as main reference . For the given range only those records will be deleted. Now i want to delete a different table called SSDB_WIUDATA only for the controlpointIDs deleted on
    this switch table. The scenario is ControlpointID will be same even out of the given range also.but switchID will be different So it was easy to delete the records in switch. But while deleting in WIU data i have  WIUDataID and ControlPointID as main
    column reference . How do i delete the values from WIUData only for the values deleted in switch table? Here ControlPoint ID will be same even out of the range also. So i should delete only within the range that is deleted in Switch table. I dont have Milepost
    refernce also in WIU table.i have only ControlPointID as reference. Pls help me 
    IF (CURSOR_STATUS('global','Switch_cur')) >= -1 
    BEGIN 
    DEALLOCATE Switch_cur 
    END
    DECLARE Switch_cur CURSOR FOR
    Select SwitchID,ControlPointID FROM SSDB_Switch
    WHERE Milepost BETWEEN @BeginMP AND @EndMP 
    AND SubdivisionID = @subdivisionID
    OPEN Switch_cur
    FETCH NEXT FROM Switch_cur INTO @SwitchID,@ControlPointID
    WHILE (@@FETCH_STATUS=0)
    BEGIN
       set @Swi = (select Talon_LocEqup_ID from Mapping
       where SSDB_ControlpointId_Asset_Id = @SwitchID and AssetType='PTC-Switch')
    Delete from tbl_equipmentObjectPropertyValues 
    where equipmentObjectPropertyValue_object_guid_fk = ''+@Swi+''
    Delete from tbl_objects
    where object_guid_pk = ''+@Swi+''
    DELETE from Mapping
    where SSDB_ControlpointId_Asset_Id = @SwitchID
     DELETE FROM SSDB_Clearancepoint
     WHERE SwitchID = @SwitchID
    DELETE FROM  SSDB_TurnoutSpeed
    WHERE SwitchID = @SwitchID
     DELETE FROM SSDB_SwitchRelationship
     WHERE SwitchID = @SwitchID
     DELETE FROM SSDB_Switch
     WHERE SwitchID = @SwitchID
      FETCH FROM Switch_cur INTO @SwitchID,@ControlPointID
         END ----Cur End
    CLOSE Switch_cur
        DEALLOCATE Switch_cur        
    Deepa

    Below is the table structure of Switch and WIUData
    CREATE TABLE SSDB_Switch (
    SwitchID int IDENTITY PRIMARY KEY,
    ControlPointID int,
    WIUDataID int,
    MilepostPrefix varchar(5),
    MilepostSuffix varchar(5),
    Milepost decimal(10,3) NOT NULL,
    TrackName varchar(20) NOT NULL,
    Latitude decimal(15,8) NOT NULL,
    FOREIGN KEY(WIUDataID) REFERENCES               SSDB_WIUData(WIUDataID),
    FOREIGN KEY(ControlPointID) REFERENCES          SSDB_ControlPoint(ControlPointID)
    CREATE TABLE SSDB_WIUData (
    WIUDataID int IDENTITY PRIMARY KEY,
    ControlPointID int,
    DeviceStatusTableID int NOT NULL,
    BeaconFlag varchar(1) NOT NULL,
    ConfigCRC varchar(8) NOT NULL,
    EncryptedHmacKey varchar(64) NOT NULL,
    WIUAddress varchar(64) NOT NULL,
    WIUID decimal(12,0),
    WIUName varchar(40),
    WSRSType varchar(17),
    InsertDate Datetime NOT NULL DEFAULT getdate(),
    UpdateDate Datetime,
    InsertUser varchar(50),
    UpdateUser varchar(50),
    FOREIGN KEY(ControlPointID) REFERENCES SSDB_ControlPoint(ControlPointID),
    FOREIGN KEY(DeviceStatusTableID) REFERENCES SSDB_DeviceStatusConfiguration(DeviceStatusTableID),
    FOREIGN KEY(BeaconFlag) REFERENCES SSDB_BeaconFlag(BeaconFlag),
    FOREIGN KEY(WSRSType) REFERENCES SSDB_WSRSType(WSRSType)
    Below is the screen shot for Switch for a range of 170 to 172 Milepost.For this range i have control point ID as 48. And even ControlPoint ID is same for 173 Milepost also. In switch i have deleted only for the range.
    Below is the screenshot for WIU table . Here i have only ControlPointID as reference. Even in this table i should delete only the records deleted in switch table.
    Deepa

  • How do I create a cumulative total for 3 or more cells in a new column

    Ok so in brief I have a formula in column E that goes C3+C5+D4
    what I would like is for column E to keep a running total , at the moment all it does is do the same indidual sum in each E cell
    I apologise as there is most likely something stupid I am missing but I am new to number
    any advice please
    Louise

    Louise,
    I am not following the formula you presented.  When you say running total my brain thinks of the math as :
    add all previous values up to, and including, the latest row.
    Like this:
    the result in cell C1 is just the sum of B1
    the result in cell C2 is the sum of B1 and B2
    the result in cell C3 is the sum of B1, B2 and B3
    the result in cell C4 is the sum of B1, B2, B3 and B4
    etc
    this can be realized with the formula:
    C1=SUM($B$1:B1)
    this is shorthand for... select cell C1, then type (or copy and paste from here) the formula:
    =SUM($B$1:B1)
    the formula means... sum all the cells from the absolute cell B1 ($B$1) to the relative cell B1.
    as you fill this formula down the absolute cell reference will not change but the relative cell reference will adjust
    to fill down... select cell C1, copy
    now select column C, paste

  • Alternating row color for CF report Builder?

    I have a user who wants one of her reports to display
    alternating row colors for better read clarity. The reports are
    rather lengthy and the rows tend to blend in with eachother.

    Thanks Epulfy. I am going to give this a try later today.
    Much appreciated
    EDIT:: This does work. however I'm not sure how to set a
    rectangle to the background of the report so it's behind my
    details. I draw the rectangle and it just hides whatever I want to
    display. When I look at the report it does alternate with rows, but
    I can only see details from the rows that it does not alternate on.
    Any clue how to set it to the background?

  • InfoPackage ABAP Routine for Date Range - Only Start Date Extracted

    I am using an ABAP Routine in an InfoPackage to select data for a 2 year period.  The routine converts SY-DATUM into the Current Fiscal Year and Period, and then calculates the Starting and Ending Fiscal Year / Period of a 24 month period.  The Start and End values are passed to the InfoPackage as l_t_range-low and l_t_range-high.
    The Source and Target are both Basic Infocubes.
    The InfoPackage executes successfully, and the Selection values on the Header tab of the monitor reflect a 24 month period.  Unfortunately, on closer review of the data in the cube, only data for the first month appears to have been loaded.  I’m guessing that the extract was only performed with the From value, even though a To value was also provided.
    I created a simple Infopackage and manually input the selection parameter values just to be sure I wasn’t overlooking something. The InfoPackage performed as expected, loading more data which spanned the selection time period.
    I can provide the code if it helps, but the fact that the monitor reflects a Start and End value suggests that the problem is with the InfoPackage, not the ABAP routine.
    Has anybody ever experienced this before ?  Any ideas would be greatly appreciated ?
    Thanks,
    Lyle

    We can write ABAP routine in Infopackage with a range of values (From & To). Make sure you fill all the following information while building the final range information as below,
       l_s_range-sign    = 'I'.
       l_s_range-option  = 'BT'.
       l_s_range-low     = lowvalue.
       l_s_range-high    = highvalue.
      MODIFY l_t_range FROM l_s_range INDEX l_idx.
    As you can see the key is passing the "BT" information for capturing range.
    Hope it helps..
    thanks
    Kumar

Maybe you are looking for