This is my DB,
its got too many missing cases for me to do it manually, and I can not use flash fill in this case,
so I want to randomlly fill these case with a specific set of strings :"TCS", "TCLSH","TCEO", and "TCT"
how can I do it in excell please help and thanks a lot in advance
You can do this in a separate column using index with randbetween (per screenshot / this sheet) as follows:
=IF(B3="",INDEX($H$3:$H$6,RANDBETWEEN(1,COUNTA($H$3:$H$6))),B3)
Related
The idea is that:
I separate full names into 2 other columns like fname + lname.
Then, I concatenate fname.lname to create a username.
So, we have got:
fname.lname#server.com
However, sometimes we find out there are few equal usernames and we need to handle it to become different from each other.
Then, we wanted to make an incrementation every username repeatition:
fname.lname1#server.com
fname.lname2#server.com
fname.lname3#server.com
How to meet this condition when working with EXCEL?
I'm really beging your help guys!
How to AUTO make SequecialUserName happens in Excel
Use COUNTIFS:
=A2&"."&B2&IF(COUNTIFS(A:A,A2,B:B,B2)>1,COUNTIFS(A$2:A2,A2,B$2:B2,B2),"")&"#server.com"
Hoping you can help me out.
I have a total of three tables here. I've been trying to figure out a formula that will give me the header (the names) of the two criteria specified in H1 and H2. I was able to get the result I want, but for the first table only (Hailey).
The problem is to find out who among the three teachers handled the "subject" within the specified month as well.
Also, I couldn't figure out how to get all the results if ever there are two names that match the criteria. Thank you in advance for your help.
as Jeeped said above this is essentially bad database/table methodology but it is not hard to fix, what you need to do is create three columns one for the name, subject and month.
Then what you can do is just run a simple SQL/Google Query to find out who is doing what.
I've created a template based of your screenshot above but with three columns, have a play around and if you redesign your spreadsheet just let us know and we can help you to design a query for your issue.
use the drop downs to get your desired query, if you select name & month you get that range, if you select a month you get all names for that month.
https://docs.google.com/spreadsheets/d/1yERKtQocnVqopqh6CCn6Rdj143bYyr_IjSDnzCLSm_8/edit?usp=sharing
I have a data set and i have a variable which contains text, i need to select the cases that do not contain
RT
at the start. How can i go about doing this? i do not want to compute a new variable just want to set a filter.
I know that i need to use the Select cases -> If condition is satisfied... but i can not figure out what function or formula i can use to achieve this.
Help is much appreciated.
SELECT IF CHAR.SUBSTR(UPCASE(MyVar),1,2) NE "RT".
I am working on a project where I am using Excel to analyze several million data points. I've already converted my data into simple binary true and false. Now I need to sum 75,000 data points at a time and store them in a separate column. I think what I need to do is very similar to the result given to the linked question at the bottom of this post but I was wondering if someone could help me figure out how to store the sum's properly.
For example, I want to take data points B1 through B75,000 and sum them and store them in D1. Then I want to sum B75,001 through B150,000 and store them in D2 and so on.
As mentioned, the result should be in a pretty similar form to that given in the linked question, I was mostly hoping someone could clarify what numbers I need to use in order to fix my offset problems and store the numbers in the right location. Thanks in advanced for any help you can give, I appreciate it.
I want to sum every 7 rows in a worksheet and put the sum in different column & rows
Considering the comment, I edited and simplified the answer. Try this out:
=SUM(OFFSET($B$1,(ROW()-1)*75000,0,75000,1))
Edit: Heh, now I see it's the same as ZAT's comment, which was made when the question had the old ranges. :)
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.