trying to figure out how to summarise some data quickly.
I have here an example of what I am trying to do in the attached picture.
Basically - I have a yearly planner with some names, and on various dates there's a X marking that person on that date.
I need to be able to summarise on either the bottom or a new sheet, the total days as a list of days where there's a mark. The data also needs to be presented in the same format - with all names shown even if there's a blank in that days cell.
I can't use VBA because I'm forced to use EXCEL online unfortunately.
I basically want (from a coders perspective) select column where column not null.
Can anyone help me understand how I would do this please? If not I'll have to manually go through and pull out the columns on a weekly basis
Thanks!
Example
It took a few hours to build a solution.
https://1drv.ms/x/s!AncAhUkdErOkgqRwUEztHeWbj3LkqA?e=s4x0SI
A3 =IF(COUNTIF(C3:L3;"x")>0;ROW();"")
C1 =IF(COUNTIF(C3:C12;"x")>0;COLUMN();"")
B17 =IFERROR(INDEX($B$3:$B$12;MATCH(SMALL($A$3:$A$12;ROWS($A$3:A3));$A$3:$A$12;0));"")
C16 =IF(IFERROR(SMALL($C$1:$L$1;COLUMNS($C$1:C1));"")<>"";HLOOKUP(IFERROR(SMALL($C$1:$L$1;COLUMNS($C$1:C1));"");$C$1:$L$2;2);"")
C17 =IF(IFNA(INDEX($C$3:$L$12;MATCH($B17;$B$3:$B$12;0);MATCH(C$16;$C$2:$L$2;0));"")=0;"";IFNA(INDEX($C$3:$L$12;MATCH($B17;$B$3:$B$12;0);MATCH(C$16;$C$2:$L$2;0));""))
Related
I'm looking for some help on trying to combine functions.
I think I need VLOOKUP & COUNTIF.
I have Sheet 1 with a list of clients, column A, I then have 12 other tabs Jan-Dec same table format on each, client listed in column C.
On sheet 1, I want to count from every month tab how many times listed (invoices sent)
Not every client in the list will appear on the month invoice tabs , others more than once.
Please see screenshot attached
Any advice would be appreciated.
Thank you
Amy
You only need CountIf. Just reference the client on Sheet 1:-
=countif(January!C3:C100, Sheet1!A3). Copy this down to reference the client on each row.
You could also consider the following for a better working and easier spreadsheet:-
-Define ranges and reference those instead
-Copy all your monthly data with the year into one sheet. Have a column for month and year then just autofilter to get the month you want - using countif to also reference the month and year if you just want a particular one in question
You'll find it easier to grown your spreadsheet and build formulae if your data is tidy and less dispersed.
Hope this helps,
Phil
I have a spreadsheet that provides monthly results for the last year. The layout is 7 columns per month, each column is the same information for each month (count and rate of various things).
I need to trigger a true/false based on both count and rate being above threshold values in any of the twelve months.
I can do this using either nested IFs or just a lot of IF statements, but was wondering if anyone has a better suggestion? I am open to formulas or VBA, whatever would be most robust.
Image of how each month is arranged
It's a little hard to tell from your spreadsheet what the layout is, but I tried to recreate it (See image below). I entered the function =IF(OR(B2>0.04,C2>2),$A$2) into cell A7 and dragged it across the spreadsheet. All the values you're looking for should be under the Month column. To prevent the function from changing its reference to the first column Name, I used absolute referencing, with dollar symbols $A$2. This way you don't have to keep changing it back to the specified column. Hope this helps.
I'm working on a personal budget spreadsheet, and I have a tab that calculates what I've spent so far in certain categories and compares that total to what I have budgeted for. I have one column showing how much I've spent and the one next to it shows how much I have left to spend. What I want to do is highlight both the total and the amount left if the column showing the difference is negative. I want to do this for the whole 2 columns. Here is a link to my sheet:
https://docs.google.com/spreadsheets/d/1AXaxVpVpblxwnS7VBhz4yhz1SNXRGCB6Zrb3OIKiaKk/edit?usp=sharing
I think my main challenge is highlighting both cells dependent on only one of them. I've tried some custom formulas but they don't seem to work. I know there has to be a way to do this. Any ideas?
You just need to fix the custom formula with a $ and apply it to G6:H26 so that when it is applied to column G it still checks column H:-
=$H6<0
Hope that helps
I am trying to create an excel formula that will increment as the year changes. The following is what i am trying to do:
http://i58.tinypic.com/nbc1fc.jpg
I have 2 columns - date and id.
What i would like to do is increment the ID column by +1 when the year changes in the date column. So, dates from the same year will get the same id. (i am not concerned by the month/day values, all i need to do is assign the same id to dates from the same year).
I have tried a variety of formulas in excel but my excel skills are not great and i have been unable to find a solution. The best i could come up with is:
IF(YEAR(A1=1928),420) but that would be quite monotonous to do for every year in the excel file.
i did try to do a bit of research and the only similar question that i could find on here was this -->
Increment number when Date changes
Any help would be much appreciated
Please try, in say B2 assuming your data starts in A1:
=IF(YEAR(A2)=YEAR(A1),B1,B1+1)
and you have chose a value for B1. Copy down to suit.
So basically I have a main table, and I want to filter that data to another table (normally easy) but I want this based upon 2 criteria. e.g. I want to filter the data of a specific department but only for the current month. The way I display the current month in the main table is by inserting the date from a userform and then by formatting that cell to just display the month. However, when using advanced filter I use the column headings that I want to filter e.g. department: mens, month: november (worked out using =now() then formatting to just display the month) but when I'm running the filter it's not picking out the information at all.
I think this lies with the way the month is worked out and displayed but I can't figure out another way to do this. Any help is greatly appreciated.
I'm also open to trying a new method of just selecting data for the current month if anyone has a cleaner way, as I'm sure there is one.
You have to use a formula in your criteria to specify what month you want to extract. But it's not terribly intuitive. Take a look at this sample. My starting list is the range A1:B7. My criteria is in range D1:E2. The Department is straightforward; I just entered "3". (Obviously, without the quotes.) But instead of a Month criteria, I added "GetMonth" and entered the formula shown in the formula bar. You can name this whatever you want, but it can't be the same as one of the headers in your source list. (Yeah, I checked.) The formula checks to see if the current month of the date in cell B2 is 12, which is December, and returns TRUE or FALSE. You could use 11 for November. The advanced filter will apply the reference to cell B2 that's in the formula in a relative fashion to all cells in the Month column. And Viola! my output in range A10:B11 is what you'd expect it to be.