new to the forum and new to Excel in general. My buddies and I are creating a golf stats sheet and we wanted to see if there is a formula to pull specific data from specific values. Here is the example:
Sheet 1(Totals)
Sheet 2(Course 1)
Sheet 3(Course 2)
etc.
The Totals sheet will provide the list of players in Rows and in the first column will be Course names that can be selected as a List.
The other sheets (courses) will basically have score cards for that course. It'll inidicate names of who played that course along with course scores in a specific cell. i.e. Cell A1 would have the player name and B1 would have the total score.
What i would like is a formula in which, once a specific Course is selected in the Totals sheet, it'll return the specific player with its score.
So if i were to select Course 1 (Cell A1) in a drop down menu, the formula would look in the workbook and find the name Course 1 and return the player name is Cell B1 with the score in Cell C1.
I hope this didn't confuse anyone.
Assuming players are in A2 and down and the course name is in B1. Put this in B2 and drag.
=VLOOKUP(A2,INDIRECT("'"&B$1&"'!A:B"),2,FALSE)
Related
I try to get a price (col "B" sheet "PP") if a product (col "A" sheet "PP") is in any of sentence (col "A" sheet "MASTER"). If not, then it should pick up the average price (cell "C2" sheet "PP"). I've tried to use several methods but only this one gives SOME ;) results:
=IF((LEN(B2)-LEN(SUBSTITUTE(UPPER(B2);UPPER(LEFT(PP!A2;LEN(PP!A2)-5));"")))/LEN(LEFT(PP!A2;LEN(PP!A2)-5))>0;VLOOKUP(PP!A2;PP!$A$2:$J$82;2;0);PP!C2)
As you can see on a picture only a few products get results and it's not correct. I think it's because counting characters is different for different words and phrases. Maybe there are some other errors in this formula.
In Picture 1 you can see products with prices and its average from the sheet "PP".
In Picture 2 you can see sentences in which are products in red color - sheet "MASTER". There is one sentence - cell "B8", where are two products, and formula can pick up any of them, can be i.e the first one. Three last products on the mint background aren't in the list (sheet "PP"). Therefore for them, the formula should take an average price from cell "C2" sheet "PP".
The formula should make a loop because the products from sheet "PP" can be in a few sentences.
Can anybody help me to solve this issue?
SOLVED:
=IFERROR(LOOKUP(2^15;SEARCH(PP!$A$2:$A$11;B2);PP!$B$2:$B$11);PP!$C$2)
I have created an exam using Excel 2013.
Sheet1 >> "Summative Test Lesson 1" >> this is where the exam is located.
Sheet2 >> "Grade 7A_Students" >> the list of student is created.
Declared score as integer, it store the score
declared nameStud as string that store the name of the students.
My problem is,
I need to look at column B of sheet2, if a cell in column B contains the name stored in nameStud, the score must be displayed in the adjacent cell.
Here's the interface of the my sheet 1. The student will put her/his student number in b1. Using lookup, b2 will display the name of that student taken from sheet 2. Now the student will answer. when she he click the submit button, the worksheet will be protected so the studentwon't be able to edit.
L5 will display the score by counting the correct answer.
What I need to do now is to transfer that score to sheet2 on the cell adjacent to the name of the student who took the exam.
Thanks
I have 2 sheets in sheet1 is the master sheet where all data are stored
In sheet2 I want to link the data of sheet1 in sheet2 in different cells
In Sheet1 I have 'Name' 'Mobile' 'Address' 'Pin' in A1 B1 C1 D1
In Sheet2 A2 I did data validation of the name of the persons which is stored in Sheet1, now I want that when I will select the respect list automatically the Mobile Address Pin of the person will auto fill in B2 C2 D2
& for that I am using the following formula
=VLOOKUP($A2,Sheet1!$A:B,COLUMNS(Sheet1!$A:B),0)
If a person having 3 mobile numbers stored in my Sheet1, I want to place those 3 mobile numbers in my Sheet2 Mobile column, How do I do that ??
Column A is the main dependent, But if there are blank rows then Data validation doesn't work, how can I do that ??
or any macro required ??
This is a tricky one. You will need to have a unique identifier in your records somewhere because a VLOOK and a MATCH formula will only pull back the first record it finds.
I would suggest looking into this link, it tells you how to do this. I have done it before, but it takes some practice no doubt so be warned.
Excel to the Next Level by Mastering Multiple Occurrences
Ive never used vlookups i have a spreedsheet not sure if this is the right function. I have two sheets
Sheet 1
first name last name username
Sheet 2
first name last name employee id business unit
I need in column D on sheet 1 to have employee id ive below. Pay no attention to column letters and sheets because i moved to another sheet to try getting this right.
=MATCH(B11,Sheet1!C:C,0)
Any help is much appreciated.
So you realize you have to match both first and last names? There are several ways to accomplish this depending on how many employees you have in sheet 2: a) small list could a two-column search using array formula; b) large list just create another column in both sheets joining last & first names and do a MATCH or VLOOKUP on them.
Since your needs are simple and to illustrate option (b):
Insert a column in both Sheet1 and Sheet2 after the "last name"; you should now have an empty column C in both sheets.
Assuming you have column headers in row one, and thus data starts in row two, set cell C2 in both sheets with function =B2&","&A2, then fill-down that formula on both sheets in all rows.
Set Sheet1 cell E2 to formula =VLOOKUP(Sheet1!C2, Sheet2!$C:$D, 2, False), and fill-down that formula in all rows.
Voila, employee IDs on Sheet1. I do have to say this is so Excel 101. There are all sorts of examples and tutorials on this easily found using even the most trivial Google searches.
I have two different excel sheet first sheet contain some country list and second sheet is blank. There is a dropdown column with every country which contain 'Yes' 'No'. When I select yes I want that, the selected country row will automatically add to second sheet with all data. When I select more country they will dynamically insert/add to second sheet with maintaining country order in the first sheet.
These can be done with macro but I want to do this with formula.
Try this:
=IFERROR(INDEX(Sheet1!$A$1:$C$7,SMALL(IF(Sheet1!$D$1:$D$7="Yes",ROW(Sheet1!$D$1:$D$7),1E+99),ROW($A1)),COLUMN(A$1)),"")
Input formula in Cell A2 of Sheet2 and press Ctrl+Shift+Enter.
Then copy to remaining cells. Adjust the addresses in the formula to suit. HTH
Result: