Formula that calculate two columns/text

Good afternoon Everyone,
I am trying to write a formula (if it exists) that will allow me to look at two different columns of data and calculate 3 pieces of information:
1. Open items per consultant
2. Closed items per consultant
3. Percentage of open items based on total of open and closed items per consultant.
example: I want it to calculate Stacy has x amount of total open items from the list. Here's part of my spreadsheet. The columns (Open Actions, Closed Actions and % Open Actions) will be a seperate table.
Item #
Requested Date
Main SME
Target Date
Status
Open Actions
Closed Actions
% Open Actions
1
4/28/2014
Stacy
6/27/2014
Open
2
4/28/2014
Stacy
6/27/2014
Open
3
4/29/2014
Stacy
5/29/2014
Closed
4
4/29/2014
Stacy
5/29/2014
Closed
5
4/29/2014
Stacy
5/29/2014
Closed
6
4/29/2014
Stacy
10/1/2014
Deferred to Design
7
4/29/2014
Stacy
5/29/2014
Closed
8
4/29/2014
Stacy
5/29/2014
Closed
9
4/29/2014
Stacy
5/29/2014
Closed
10
4/29/2014
Stacy
5/29/2014
Closed
11
4/29/2014
Stacy
5/29/2014
Closed
12
4/29/2014
Stacy
6/6/2014
Closed
13
4/29/2014
Eric
7/11/2014
Open
14
4/29/2014
Mukund
7/11/2014
Open
15
4/29/2014
Rao
7/11/2014
Open
16
4/29/2014
Stacy
6/27/2014
Open
17
4/29/2014
Sriram
5/29/2014
Closed
18
4/29/2014
Sriram
5/29/2014
Closed
19
4/29/2014
Sumit
6/13/2014
Open
Thanks in advance, Cicely

Open items:
=COUNTIFS(C:C,"Stacy",E:E,"Open")  
or use a cell reference with the name "Stacy" - use this if you have a list of names you want to use and want to just copy the formula down to match the list:
=COUNTIFS(C:C,G2,E:E,"Open") 
Closed items
=COUNTIFS(C:C,"Stacy",E:E,"Closed")
Percentages:
=Cell1/(Cell1 + Cell2)
where Cell1 and 2 are the cells with the formulas.

Similar Messages

  • Two column text wrap

    I'm using CS5 and I'm preparing a book that uses two columns. I have some photos that extend from one column into the other. When I wrap text around those photos one of the columns wraps fine but the other column does not. It wraps with a large white space, that is, both columns do not wrap equally. A friend of mine tells me this problem has persisted in previous versions of InDesign.

    function(){return A.apply(null,[this].concat($A(arguments)))}
    this is 100% normal, expected, and nasty behavior.
    !? (in particular on the "expected"...)
    Is this area the problem?
    What happens if you force some text in the last line of the caption -- say, a Right Indent Tab, and if that's not enough, followed by a [None] colored exclamation mark?

  • Creating a two columns text reflow

    Hi
    I'm trying to create a two column page which needs to get data that will fill the columns. Upon filling one column, the text will need to reflow to the next one (as much as a two column text frame in a layout program does).
    Is it possible in a Designer ES? (version 8.2.1.5161.1.566259) What is the best practice to do so?
    Thanks,
    Yossi Maoz

    Are you trying to make it an interactive form or are you going to merge data onto the template and make a print form? In either case I modified your sample. The root Page subform must be set to flowed. You do not need a field in the second content area. I resized the 1st field to make it easier. I changed the layout to allow the field to expand in the Y direction (on the layout tab). I cahnged the Form Properties/Preview to Interactive so that I coudl enter in data. Now when the field fills up scroll bars will appear and when you tab off of the field the field will be redrawn to its actual size. Enter in enough data to case a page overflow and you will see the second column fill up.
    Paul

  • Importing two-column text from Pages

    I've produced several successful calendars and books using the iPhoto service in the past couple of years, but one thing has me defeated.
    So far, I have used Pages to create text, then style it the way I want, and finally cut and paste it into the book project. It works perfectly. So far, so good.
    Now I want to do two-column text pages, instead of a full-width single-column layout, but I can't find a way to do it.
    I have tried exporting the two-column set out of Pages as a pdf, then using the Import command in iPhoto, but it is greyed out in the navigation window. No go.
    Any ideas?

    Do a Print to PDF of the Pages layout and select the Send PDF to iPhoto option. That will create a jpg image of the page which can be added to a full page layout in the Book. Here are a couple of crude examples of that from a Word document: Portrait oriented - Landscape oriented.
    Of course my example is single column but with a two column layout in Pages and in the landscape mode it would work just as well.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.
    Message was edited by: Old Toad

  • Horizontal paragraph rule across two-column text frame?

    Hi,
    as the title suggests, how do i get a horizontal rule to run across a two-column text frame?
    I have either had the rule just apply to the entered text; had a gap where the column gutter is;
    or I have had to set the column gutter to 0mm/px and manually set carriage returns to give the impression of a gutter.
    Surely there is a better way?
    I'll attach a jpeg of my various options.
    Hope I've been clear-enough. All help is appreciated.
    Cheers, Matt

    You can put the rule in a paragraph which is spanning a columns.
    Or you can extend the paragraph rules by inputing minus values to left and right (e.g. -5mm)
    Or you can use a table instead.
    Or you can use negative left and right intend for the text but extend the rule to the end of the frame.
    Never set a carriage return manually.

  • Two Column Text Flow Problem

    Aside from Pages not importing Word (from a Mac) properly when there's columns involved I have another column problem.
    I'd like to find a way to make a document that has two equal side-by-side columns, lets call them Column A on the left and Column B on the right. So when I start typing in Column B on the right and reach the bottom of the page the text continues on that new page in Column B.
    As far as I can tell it's impossible to do this as every time I reach the end of a page, the text jumps to the left into Column A. Is there any way to set it up so when you type in one column pages automatically jumps to that same column on the next page without having to add section or layout or column breaks for every single page?
    This is a bit of a nightmare. It seems Pages can't do a simple two column document as it insists on linking them together for every new page it creates as you type text.
    Can anyone help me?

    There are definitely some liimitations in how Pages handles its flow of information. I dislike the fact that once you have placed your pages the way you want from the pages within a template there is no way of having the text automatically flow from one to the next (irritating since some of my templates are designed to be journals)
    Pages won't do what you want. I am sure there are programs which are better suited to do so because they are designed for that particular market. I thank you, however for not stamping your feet and demanding that it be the very next thing for them to accomplish on their growing list of things to do next.
    (and I tried a few different things, hoping to figure out a way to do this. One of which was to design a templlate which was half the width of a sheet of paper. It was determining what was placed on the second side which was difficult.)
    now, of course, depending on how long your document was going to be you could try something different by making an infinitely long sheet of paper. At every point where the header would be you just incorporated a text box or shape with a wrap so your text would skip down to the next virtual page.
    Of course, this sounds like far more work, and distracting to the natural creation process of a writer. Find the software which removes itself from your creative juices and lets you concentrate on being the awsome writer you are.
    Just my 2¢ CDN (about half a penny US.)
    Gerry.

  • Two-column text

    This is driving me nuts. It's not that often that I import text into InDesign. I've got two column page formats set up for an index. I'm placing the index text, which is an RTF file, into this two-column format. And, it just boringly splats itself right across the whole page, damn the two columns. What's this about? Why can't imported text adhere to the columns that are set up?
    Thanks,
    Peter

    Yeh, I fixed it, finally. Yes, I had to click, click, click in the text frame and make sure I saw a blinking cursor in there. I actually typed in some text and verified that it was wrapping in the first column, not spanning. Then, I placed my file. And, it finally came in right. I guess you just have to be totally sure that your cursor's there in the 2-column textbox. Sometimes when I brought in the text, it literally create another single-column text frame, on top of the two-column one!
    Thanks, everyone.

  • Two column text box with header

    I have a text box that is set to flow as two columns. The beginning of the text box has a header then a list of bulleted items. My problem is that when the text flows to the second column, it is set at the top (in-line with the header). What I would like is to do something like set a top margin just for the second column so it will line up with the body text from the first column. Is there an easy way to do this or should I just use two text boxes and position the second box where I want it?

    Simplest is to use two text boxes.
    Dave Saunders has a script (http://pdsassoc.com/index.php?Nav=downs&Ban=Downloads&Info=downloads.html) that can do it with one text box by putting your head in a one-column table that intrudes into the second column. I've never used his script, and I see his website says CS and CS2, so I'm not sure if it would work with your version.
    You could probably achieve what you want (because I see you don't actually need the head to straddle, just the texts to top align with each other) by forcing a huge leading on one character in a frame that's set to First Baseline Offset by Leading.
    Ken

  • Two-Column text flow

    I would like to create a body of text arranged in two columns so that text that is entered into the first column will, when first col. is full,  continue into the second, and when that is full, into a new page, etc. Would you please show me how to set up my page to make this happen.
    At present I am having to manually move text around. Wondering if there is a way to have inDesign manage this for me automatically.

    'S'teffin 'T'D' schrieb:
    The first thing is to make Text frame option numbered 2 in the master page. And Just flow the content, it will be fine and easy.
    Nope, the correct answer would depend on the version, what we don't know.
    Your answer would be the best practice for InDesign CS4 and older.
    With InDesign CS5 and later it is better to set up the master with a single column and set up object styles for the text frames with 2 or more columns. It is helpful to put normal ruler guides to the column edges.
    Span column would not work in 2 single columns, only with a single text frame.

  • Formula to calculate two fiscal year/period difference for non null quantit

    We'd like to have a query result like the following:
    Person -- Jan_2007 -- Feb_2007 -- Mar_2007  --  No. of Months
    Tom --- 21 --- 54 --- 10 --- 2
    John --- 0 ---  3 --- 15 --- 1  
    In the above query, the row is sales persons, the 1st three columns list the sales quantity by each sales person restricted by fiscal year/period and we would like to create 4th column "No. of Months" to calculate (will use formula) the month span (difference) for each sales person from his last sale activity (the last month he performed sales) and the 1st sale activity (the first month he performed sales) as listed in the above query result, e.g.,  Tom performed his first sales (sales quantity: 21) in the month of January of year 2007, and he performed his last sales (sales quantity of 10) in the month of March, 2007, then the "No. of Months" column value for Tom is 2.  The calculation formula will be performed based on the last quantity value (> 0) to trace it's corresponding column fiscal year/period value (max of the fiscal year/period value with quantity value >0) and on the 1st quantity value (>0) to trace it's corresonding column fiscal year/period value (min of the fiscal year/period value with quantity value >0) and then do the subtraction between the max of the fiscal year/period value and the min one. 
    Would be appreciated if BEx experts here give the detailed steps on how to build up this formula to calculate the number of month difference and we will give you reward points!
    Edited by: Kevin Smith on Mar 18, 2008 1:47 PM

    hi Danny,
    I only gave an example of 3 columns, but actually, yes, the report can have more than 12 months, e.g. from Jan_1999, Feb_1999, ..., Mar_2011, Apr_2011.
    In our simple example of 3 columns for the three consecutive months, if John had (3)(0)(15), then the No. of Months is 2, or the last month value he performed sales and 1st month he performed sales.
    You said macro in Excel sheet?  Not sure if macro will work on web since we will eventually run the reports on web browser, therefore we still prefer using Formula.
    Any idea/solution?
    Thanks!

  • Text flow into one or two column text boxes depending on the number of text lines

    Question InDesignCS3
    Is it possible to let text flow into one or two column textboxes depending on the number of text lines?
    Example 1)
    --Default text box--|
    | Text line 1 |
    | Text line 2 |
    | Text line 3 |
    | Text line 4 |
    ------------------- |
    If there are more than 4 text lines in the in the text box, this box has to become a two column box. like example 2
    example 2)
    |Text line 1 | Text line 4 |
    |Text line 2 | Text line 5 |
    |Text line 3 | Text line 6 |

    if (myTextFrame.lines > 4) {
    myTextFrame.textFramePreferences.textColumnCount = 2;
    } else {
    myTextFrame.textFramePreferences.textColumnCount = 1;

  • Calculate two column in bi publisher

    Hi all:
    I have one group,and then i sum two column in this group,and get sum1,sum2,when i want to display this result of sum1 MINUS sum2 in bi publisher,for example:
    the value of sum1 is 800,the value of sum2 is 600, in the rtf ,i put sum1-sum2 ,and get the display 800-600,but i want to get the result 200,not the expression 800-600,
    how can i achieve this?
    thank you!

    Hi,
    instead of <?1-1?> use <?xdofx:1-1?> (see http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481158.htm)
    <?sum(column1)-sum(column2)?> works for me, but you can try <?xdoxslt:sum(column1)-sum(column2)?>
    Regards
    Rainer

  • Powerpivot - Can't insert formula that combines two or more different columns and keep getting message "unhandled exception has occurred in a component in your application...

    I am using powerpivot v2 with excel 2010.
    When I go to my excel file's powerpivot and I try to insert a formula in any column, I constantly get the following message:
    "unhandled exception has occurred in a component in your application. If you click continue, the application will ignore this error and attempt to continue".
    ************** Exception Text **************
    System.InvalidCastException: Return argument has an invalid type.
       at System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg(Object arg, Type paramType)
       at System.Runtime.Remoting.Proxies.RealProxy.PropagateOutParameters(IMessage msg, Object[] outArgs, Object returnValue)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Office.Interop.Excel._Application.get_ActiveWorkbook()
       at Microsoft.AnalysisServices.XLHost.Addin.GeminiRibbon.currentClientWindow_InFormulaBarChanged(Object sender, EventArgs e)
       at Microsoft.AnalysisServices.Common.SandboxEditor.formulaBar_Leave(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
    Does anybody know how to fix this ?

    Mark,
    I used the Fix It found here:
    http://support.microsoft.com/kb/2739501
    I would have to ask my IT support person for more specifics, but as I understand the scenario with my particular laptop: the laptop came preloaded with RTM build of 2013.  We used Control Panel to uninstall Office 2013, in order to install Office
    2010.  I installed PowerPivot add-in and used it successfully with no issues for several months.  After attempting to install another program and encountering issues with apparent traces left behind of Office 2013 uninstall, I found the link above
    and used the Fix It to attempt to remove all remaining traces of Office 2013.  While it did appear to find and clean-up quite a bit left behind from the Office 2013 install, I was surprised to find an error upon entering my existing installation
    of PowerPivot for 2010 and attempting to type new formulas into the formula bar.
    My experience to-date is that an error message stating ""Return Argument Has an Invalid Type" appears anytime I select or modify a formula in the formula bar that would cause the intellisense to appear.  For example, when I first click into the formula
    bar, I do not get an error...but as soon as I type the first letter, before the intellisense appears, I get the error message.  Throughout the remainder of the formula as I type, just prior to any time when the intellisense drop-down will appear
    again, I get the same error message again (see details below).
    At one time, although I can't reproduce it now, the error message did state ".Net Framework" in the menu bar of the error pop-up window.  I can't get that to appear again, as it now only says "PowerPivot for Excel".  Based on this, I had attempted
    to see if I could repair my .NET framework install using the following tool:
    http://www.microsoft.com/en-us/download/details.aspx?id=30135
    I learned, however, that since I am running Windows 8 which comes with .NET 4.5 built-in to the OS, this tool does not yet cover that version for repair.
    While the overall end-result of my PowerPivot models appear to be just the same, having to click through "Continue" on the error message multiple times each time I enter a new formula is a huge drain on productivity.
    Let me know if you have any additional questions.
    David
    System.InvalidCastException: Return argument has an invalid type.
       at System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg(Object arg, Type paramType)
       at System.Runtime.Remoting.Proxies.RealProxy.PropagateOutParameters(IMessage msg, Object[] outArgs, Object returnValue)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Office.Interop.Excel._Application.get_ActiveWorkbook()
       at Microsoft.AnalysisServices.XLHost.Addin.GeminiRibbon.currentClientWindow_InFormulaBarChanged(Object sender, EventArgs e)
       at Microsoft.AnalysisServices.Common.SandboxEditor.formulaBar_Leave(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
    David Duncan Consultant I.B.I.S., Inc.

  • How do I count the unique value pairs in two columns of a table?

    I have a table (Table 2) that is populated with data from an imported .csv file. On table 1 I need to count the unique value pairs in two columns of Table 2.
    Here's what I have:
    Date                                        Person
    7/10/2011                         A
    7/12/2011                         W
    7/12/2011                         X
    7/12/2011                         X
    7/12/2011                         X
    7/12/2011                         Z
    7/14/2011                         Z
    7/15/2011                 X
    7/16/2011                         Z
    I'm focusing on person "X" and can easily count how many days that person shows up but what I want is to see on how many unique days that person shows up.
    Here's the result I'm looking for (Person "X" shows up on 2 different days - 3 times on 7/12/2011 and once on 7/15/2011):
    X                    2
    I can't seem to find a function that allows me to do that. I also am not allowed to modify Table 2 so that leaves me to come up with a solution on Table 1.
    Any ideas would be greatly appreciated.

    Hi John,
    Not being allowed to modify Table 2 is a minor inconvenience. Just copy (using a formula) the necessary two columns onto Table 1.
    Yellow columns may be hidden. The procedure progresses from left to right. All formulas are entered into row 2 then filled down that column to the end of the table. The table must be as long as the list in column A of Table 2.
    A2: =Table 2::A
    Fill right to column B.
    Fill both columns down as far as needed.
    I've used actual Date and Time values in column A, formatted to show only the Date part, but the technique will work with text in these cells, provided all cells representing the same 'date' have exactly the same content.
    C2: =A&B
    This concatenates the contents of each row of columns A and B into a single text string.
    D2: =COUNTIF($C$2:C2,C)
    This counts the number of occurrences of the Date&Name string on the current row from the first regular cell in column C (C2) to the current cell.
    E2: =IF(COUNTIF($B$2:B2,B)=1,MAX($E$1:E1)+1,"")
    This constructs the index of first occurrences of each name, in the order they first occur. The index is used by LOOKUP in column F.
    F2: =IF(ROW()-1>MAX(E),"",LOOKUP(ROW()-1,$E,$B))
    This uses the index value created in E as a search-for value to extract a single copy of the names in column B. The result is a list of all distinct names in the list. Note that spelling differences will be counted as distinct names.The IF statement stops the listing when the last distinct name is extracted.
    G2: =IF(LEN(F)>0,COUNTIFS($B,"="&F,$D,"=1"),"")
    This counts the number of 'first occurrences of distinct Date & Name strings for each name on the list (ie. the number of distinct dates on which each name appears in the original list).
    All of the functions used are described, with at least one example for each, in the iWork formulas and Functions User Guide. You can download the guide, and the Numbers '09 User Guide, via the Help menu in numbers.
    Regards,
    Barry

  • Placing a single line at the top of a 2-column text frame

    I am creating a text frame that is two columns and that will be adjusted in height size for each page. What I would like to do is add a single .5 line at the top of the frame and join it to the frame so both the line and the frame will move simultaneously. I would like to do this without having to select both the line and the frame each time. Is there a way to permanently attach the line to the frame or is there a way to create a line within the frame that has nothing to do with the text. I'd prefer not to use above/below paragraph lines. If anyone can help it would be greatly appreciated. Thanks.

    kathi_uk wrote:
    I am creating a text frame that is two columns and that will be adjusted in height size for each page. What I would like to do is add a single .5 line at the top of the frame and join it to the frame so both the line and the frame will move simultaneously. I would like to do this without having to select both the line and the frame each time. Is there a way to permanently attach the line to the frame or is there a way to create a line within the frame that has nothing to do with the text. I'd prefer not to use above/below paragraph lines. If anyone can help it would be greatly appreciated. Thanks.
    It's not clear if the first paragraph below the two-column line will straddle the two columns.
    ID CS5 paragraphs can straddle columns. An inline graphic at the top of a two-column straddled paragraph will do what you want. The paragraph that follows can be either a one- or two-column paragraph.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for

  • Universe on top of SAP BW

    Hi Experts, I need help in creating a universe on top of BPC Cubes. While creating Universe connection, I have followed the steps below: 1. Connection type: SAP BusinessObjects > Business Planning and Consolidation > OLE DB for OLAP Providers 2. User

  • I need help with the iPad Remote app to connect to apple TV 2

    I need help with the iPad Remote app to connect to apple TV 2 I have the app already on my ipad and when I open it only shows my itunes library and not the small black Apple TV 2 icon! How do i fix this and i know it's something 

  • Transfer and sync info

    Lost my Palm Tungsten E2. Purchased a used one as a replacement. Tried to sync my contacts after changing user name. Didn't happen.  Password shows as "assigned"  Don't have clue as to my original password. Would also like to delete a program install

  • ConsoleOne work-a-like for adminning Windows/AD

    I hope the mods won't smite me for asking this here. I've asked over at SpiceWorks, but apparently that's mostly Windows and Linux admins who have no real idea of what "elegance" is. My question: does anyone know of a tool for administering Windows/A

  • Did 2.1 fix anything?

    I've posted several times about the recurring slideshow module bugs that were introduced with 2.0, and weren't fixed for 2.1. The cropping bug wasn't fixed, either. When I select an image to crop in 2.1, it will often revert to the ratio that I used