Create an advanced excel function between 2 sheets - excel

startSheet 1 item #'s
Sheet 2 item #'s
Sheet 1's item #'s being ordered
Sheet 2's excess stock being over the limit already
-Was hoping to create a vlookup or index match function to tell me whether or not any parts from sheet 1 are on order that are already above sheet 2's excess stock column
-create an indexmatch function that connects the item number columns in sheet 1 to in sheet 2 to find whether or not the part being ordered above is above our max already.end

Related

need to copy data from one sheet to another depending on a value of the first sheet

i have never used excel except for in college and well that was a while ago, what i have is 3 sheets sheet 1 contains all user information sheet 2 is company information and sheet 3 is company member information,
now what i need to do is this,
i need to loop through sheet 1 column K and search for what is not "Individual" then i need the value of sheet 1 column A and put that in sheet 3 column C
i also need the index of the same row that does not equal "Individual" and use that to grab the value of sheet 2 column A and put that in sheet 3 column B
hopefully that makes sense and is actually possible and any ideas would be greatly appreciated!

Linked columns in an Excel document

I'm trying to create an excel document with two sheets, the first one containing a list of fruit types, for example
ID Description
1 Apple
2 Orange
3 Pear
...
The second sheet would contain a reference to a row from the first sheet and some additional data.
For example
Fruit_ID Quantity Customer
1 12 Chris
3 7 Jenny
...
And when a user is adding a new row in the second sheet he would be presented with a drop down list of entries from the second sheet when setting the first column value.
The number of rows in the second sheet is dynamic ( user will be adding data into it).
How can I do this ?
Select the cells where you want to display dropdown.
Go to Data Tab > Data Validation
Enter the following criteria
Allow:List
Source: =OFFSET(Sheet1!$A$1,1,0,COUNT(Sheet1!$A$2:$A$1048576))
Change the sheet name accordingly and it will show drop-down based on the Sheet1, column 1.
Let me know if it works.

Match descriptions and copy/paste associated quantity

In Sheet 1, column A contains a list of product names and column B a list of quantities. The number of rows is variable and could be a minimum of 1 and a maximum of 15 (from row 62 to 76 - blank rows are automatically hidden). In Sheet 2, column A contains the same product list, but all 15 of them, ie Sheet 1 is a dynamic range and Sheet 2 is a static range. I am attempting to set up a VBA procedure whereby the macro will match the product in column A62 (Sheet 1) with column A4-18 (Sheet 2), copy the corresponding quantity from column B in Sheet 1 to column B in Sheet 2 and then move down the product list in Sheet 1, doing the same till it reaches the end of the dynamic range.
If anyone can assist or point me in the right direction, I'd be very grateful. Many thanks.

Count number of rows in column A that have a value in a list in column B on worksheet 2

I have a list of 3 digit phone codes in EST timezone in column A Sheet 2. I have in Column A Sheet 1 another list of 3 digit phone codes from people that have called in.
What I am trying to do is in Sheet 1 "B2" count the number of inbound calls (Column A Sheet 1) that exist in the EST timezone list (Column A Sheet 2).
I cannot seem to find a way to complete this using either formulas or macros.
You'll want something like this:
=COUNTIF(A:A,'Sheet2'!A##)
Just replace A## with the location of the 3 digit code from sheet 2 that you want to count.
EDIT:
Here is the code which solves your question. It counts the number of times any value within Sheet2!A:A is iterated in Sheet1!A:A
=SUM(COUNTIF(Sheet1!A:A,Sheet2!A:A))

Finding matching value in sheet 2 and copy adjacent cells value in sheet 1

I have searched through many similar topics but could find nothing that will do what I need.
I am trying to create a worksheet that will track scores for a darts game.
On Sheet 1 I have two columns that simply tracks each players throws from 501 down to 0
Row 25 is the amount remaining for each player.
In Sheet 2 I have 2 columns. The Column A contains scores that you can check out on, and Column B contains the checkout e.g. (T20, T20, D18). So if the value in row 25 of Sheet 1 matches any of the values in Column A of sheet 2, the I want to display the Value of Column B in the matching row on Sheet 2 Underneath the remaining score on Sheet 1.
Can anyone point me in the right direction?
not sure what you mean exactly, but this formula in row 26 should do the trick:
=index('Sheet 2'!$B:$B;match(A25;'Sheet 2'!$A:$A;0))
if your list separator is comma ,, use that instead of semicolon ;
you might want to use 1 as the third argument of match function, if you want to display the checkout according to the nearest match that is bigger than the number in row 25 and the column A in Sheet 2 is sorted in ascending order (1-9)
or -1 if you want the nearest match that is smaller and column A is sorted in descending order (9-1)
You can use this:
=IFERROR(VLOOKUP(A4, Sheet2!$C$2:$E$65535, 3, FALSE),0)

Resources