I am maintaining an excel sheet where Sheet1 A1 would be the name of people and B2 would be their contact number. All of the details are in sheet 2 row A and B.
So, what I want is if I put a valid name (i.e. should be in Sheet2 A) then it automatically finds the number of that name and adds in the second row. Is this possible? I have around 10-15 contacts there.
Assuming Sheet workers list is as follows:
then in Cell B2 of Sheet assignment received enter either of the following formulas
=VLOOKUP(A1,'workers list'!A2:B10,2,FALSE)
or
=INDEX('workers list'!B2:B10,MATCH(A1,'workers list'!A2:A10,0))
Change range as required.
Use this formula in sheet -1 B2 cell "=IF(A2="","",VLOOKUP(A2,Sheet2!$A:$B,2,0))"
and Dropdown this formula till you want
Sheet-2
Sheet-1
Related
I have two Excel sheets and I want to fetch data from the particular cell number from sheet1 to sheet2.
In sheet2 I have two columns: the first column contain the cell number of sheet1; and using that cell number I want to fetch that data into the adjacent cell.
Example:
Sheet1 : A15 contains "Hello"
Sheet2 : column A contains cell name and number
Worked example: in sheet2 cell A5 contains A15 so in B5 I want "Hello" (i.e. the data in A15 on sheet1)
INDIRECT
In Sheet2, cell B5 use the formula:
=INDIRECT("Sheet1!"&A5)
INDIRECT Links
Office
Support
ExcelJet
Contextures
I have an excel workbook with two sheets with hundreds of row in each sheet.
Sheet1 contains "ABCESX42 - Port 1" in Cell A2.
Sheet2 contains "ABCESX42" in Cell A2 and "EMAIL" in B2.
I am trying to go a VLOOKUP in Sheet1 Cell B2 to do a wildcard vlookup on Sheet1 A2 to partial match against any entry in Sheet2 Column A and output Email into Sheet1 B2
I hope this makes sense.
Thanks
Anthony.
use this in B2:
=INDEX(Sheet2!B:B,AGGREGATE(15,6,ROW(Sheet2!$A$1:$A$2)/(ISNUMBER(SEARCH(A2,Sheet2!$A$1:$A$2))),1))
I have a workbook (we are using them for electronic purchase orders) and I need to be able to copy a worksheet but have the formula in it increment like it would if I copied the formula in a sheet.
In other words in sheet2 I1 the formula is ='Sheet1'!$I$1+1. When I copy sheet2 and it becomes sheet3, I need the formula in I1 to say ='Sheet2'!$I$1+1.
How can i do this?
You can get a string containing the current sheet name with the following formula
=cell("filename",A1)
If you are using the standard Sheet# for your pages, then you can get the current sheet number with this formula (assuming the previous one was in B3)
=RIGHT(B3,LEN(B3) - FIND("]Sheet",B3,1)-5)
Next calculate the number for the previous sheet
=VALUE(B4)+1
Now you can use the indirect function to address a cell in the previous sheet
=INDIRECT("Sheet"&B5&"!B1")
In Sheet4, this will reference B1 in Sheet3.
Copy it to Sheet5 and it will reference B1 in Sheet 4.
This might be confusing but I'll give this a go.
As in the title of this question, I need to link cells between two sheets. Seems simple enough, but I think in this case I need to include an IF function?
I want cell C2 in sheet 1 to display what is in cell B2 from sheet 2 IF cell A1 in sheet 1 is the same as cell B1.
In other words: I have 2 sheets, on the second page I have months in on row and in the row under I have values for those months. I want to be able to link sheet 1 and 2 so that if I select February in one cell in sheet 1, then the cell under February in sheet 2 (the value) is shown in another cell on sheet 1.
Help please?
I think the relationships are satisfied by:
=IF(A1='sheet 2'!B1,'sheet 2'!B2,"")
(in Sheet 1!C2) but have assumed that the result should be nothing if Sheet 1!A1 != Sheet 2!B2.
I think you might be looking for in cell C2 (if you are talking about A1 and B1 being from the same sheet like 1):
=IF(A1=B1,Sheet2!B2)
edit: can't read question, only works if A1 and B1 are on same sheet
If I am not misunderstanding your wish, there is the code below. Please insert it into cell C2 in Sheet1
=IF(A1=B1, Sheet2!B2, "")
But you did not provide what sheet of cell B1 in pharse
I want cell C2 in sheet 1 to display what is in cell B2 from sheet 2 IF cell A1 in sheet 1 is the same as cell B1
So, I assumed that it is the same as A1 that is Sheet1. If you want to compare with the cell B2 in another sheet please Insert Sheet2: before B1.
I need help creating a formula in a cell in a spreadsheet that would allow me to grab a value from another cell and use that value to refer to yet another cell in another sheet.
For example, in a cell that returns a student's class grade (a progress report sheet) I have the cell refer to my master grade sheet (eg. the progress report sheet's cell would be: =mastersheet!E[grab value in cell A1 of current sheet])
What formula do I use to grab a cell's value and use it to define/refer to another cell?
In Excel, if Sheet1 A1 contains B2 then in Sheet1 =INDIRECT("Sheet2!"&A1) will return the contents of Sheet2!B2.
In Google Docs spreadsheet, if Sheet1 E1 contains 4 then in Sheet1 =Indirect("Sheet2!E"&E1) will return the contents of Sheet2 Cell E4.