I am transferring an Excel Report to a List in SharePoint. In Excel I have the following formula: =INDEX(A1:L1,MATCH(TRUE,INDEX(A3:L3<>0,),0))
This formula is necessary for us to identify when is the Project Managers will have their projects with "First month with expense".
If you can help me it would be wonderful.
Thanks!
enter image description here
Per my knowledge, calculating in the range of multiple columns is not available in the SharePoint.
As a workaround, you could filter items with value in a column.
Good morning everyone,
I was able to find the solution :)
=IF([JUN FY-ACTS]>0,"1",IF([JUL FY-FCST]>0,"2",IF([AUG FY-FCST]>0,"3",IF([SEP FY-FCST]>0,"4",IF([OCT FY-FCST]>0,"5",IF([NOV FY-FCST]>0,"6",IF([DEC FY-FCST]>0,"7",IF([JAN FY-FCST]>0,"8",IF([FEB FY-FCST]>0,"9",IF([MAR FY-FCST]>0,"10",IF([APR FY-FCST]>0,"11",IF([MAY FY-FCST]>0,"12","N/A"))))))))))))
Related
I am really struggling with excel, if this is easy then I apologize, but I'm very new to using excel so clear instructions would be really helpful.
The task I'm trying to achieve is creating a spreadsheet to track the dates of some safety checks on equipment.
I have columns for the equipment name (which doesn't change), and the name of the person who checked it, which needs to be filled manually, I am trying to use a formula to automatically input the date of check (the current date) and the date the next check is needed (3, 6, or 12 months from the current date depending on the piece of equipment in question). I have tried using the TODAY() function, and TODAY()+X(number of days), but these change every day which is not what I want, is there any way to have excel automatically calculate and fill these dates, but then not change them until a particular cell (i.e. name of person who checked) is updated?
I know about setting calculation to manual, but that stops calculations even when new data is entered, I need to be able to update the sheet, and have existing dates remain unchanged (hoping that makes sense).
And again, very new to excel, so please make answers as easy to follow as possible.
Any help would be greatly appreciated, all the best.
Simplest solution (that works on all machines):
Ctrl+;
ref : https://stackoverflow.com/a/31771724/7602468
Official OEM solution :
Use Worksheet.Change event in your VBA code.
ref : https://learn.microsoft.com/en-us/office/vba/api/excel.worksheet.change
Credit :
#Euler's Disgraced Stepchild
#Tom Sharpe
#Gary's Student
Please share if it works/not..
Here is a page that can help. Scroll to
Creating a Custom Function to Insert Timestamp
Good morning in my timezone.
I received an Excel file with a lot of rows and columns.
When i use a filter in each column i am able to see all the values the column has when i pick each drop down button.
Question :
How can i select and copy all the values of each filter?
Something very similar to group by in SQL.
Thanks in advance
Best regards
I marked this question as Off-Topic, because I think it belongs to superuser and there you find your solution: How do I get the distinct unique values in excel
I wrote this as answer, because the answer does not exist on SO (but on superuser).
Hi I want to cross reference two fields, by date and by break period.
Base Sheet
Report Sheet
So far I have tried doing a match function inside the vlookup as follows:
=VLOOKUP(A4,'[metric example.xlsx]Sheet1'!$B:$C,MATCH(C1,'[metric example.xlsx]Sheet1'!$A:$A,0),0)
It only will work for Team 1, but I cannot get it working for Team 2 and Team 3
Any help is appreciated,
Thank you.
Try this formula =OFFSET(INDIRECT("'[metric example.xlsx]Sheet1'!A"&MATCH($C$1,'[metric example.xlsx]Sheet1'!$A:$A,0),TRUE),ROW()-4,COLUMN())
I've a game schedule where I do the referee nominations - please see the file
I want to be able to filter the columns gym, date and referee. I know how to do that on gym and dates, with the Autofilter. My problem is the referees, because the same referee can appear in bot columns referee 1 and 2 . Can you suggest any solution to this problem?
My second question is: I want to list each referees partners, thought to solve this with Pivot table - is pivot table the best solution, or du you have any other solution?
Thanks in advance for your help
Peter
file: https://www.dropbox.com/s/p798eq4u89...lish.xlsx?dl=0
MY COMMENT: I didn't look at your file but a generic approach to "normalizing" this list is to put all referees in the same column and create another column for whether they're #1 or #2 in that instance. This generally make pivoting and other data analysis easier.
So again, I haven't looked at your sheet (because I'm careful that way) and unfortunately SO doesn't let you post a picture yet, so this is just how I'd do it based on your words:
To the left is the table and to the right the pivot. You can see the referee number column that I proposed in the table. I didn't use it in this version of the pivot, but I suppose it might be handy somehow. The pivot shows who's reffing what game and let's you see at a glance that there's two different refs per game, who they are, and that they're getting their days off.
Here's how I set up the pivot:
I hope that gives you some ideas.
I have a question that I a may not be thinking correctly about. But I have an a long excel file that I pull from somewhere else with the following columns:
Project_Name1, Employee_Name1, Date_Worked1, Hours_Worked1
In another sheet I have these columns
Project_Name2, Employee_Name2, Begin_Date2, End_Date2, Hours_Worked2
This second sheet is filled with data, and works just fine.
However, it turns out that I have some employee names that I do not know that are also working on the same project. I need to figure out the names of the employees and then sum the number of hours they worked for a given period.
So I need a lookup with three criteria:
Project_Name1 = Project_Name2
Employee_Name1 <> {Array of Employee_Name2}
Begin_Date2 <= Date_Worked1 > End_Date2
Returning Employee name.
Once I have the employee name, I can do a sumifs=() and get the total hours they worked no problem.
I have tried a number of combinations of Index Match functions, using ctrl-shift-enter... and have not been able to figure out it. Any help would be greatly appreciated.
What you're talking about doing is extremely complicated and a little bit past what Excel was designed to do by default. However, there are a few workarounds that you can use to attempt to get the information that you're looking for.
It's possible to do multiple-criteria VLOOKUPs and SUMIFs by concatenating fields to make a multi-part identifier (Ex: Insert a new column and have a forumla in it like =A1&B1)
Open a new workbook and use Microsoft Query (I'm not sure if you can select from more than one sheet, but if you can select from multiple sheets like tables you should be able to write a semi-complex query to pull the dataset you want.
http://office.microsoft.com/en-us/excel-help/use-microsoft-query-to-retrieve-external-data-HA010099664.aspx
Use the embedded macro feature and use visual basic script to write out your business logic. (Hotkey is ALT+F11)
One way to do this would be to first create an additional column to the right of entries on the sheet you're trying to pull employee_name from: =ROW()
You could then use an array formula like you were trying to implement to pull the corresponding 'match' row:
{=SUM((project_name1=projectname2)*(employeename1<>employeename2)*(begindate<=date_worked1)*(date_worked1>end_date2)*(match_column))}
You could then use this returned match_column entry within the index as you described to retrieve the appropriate entries.