Reference 1 Google Sheet to another - reference

I have 2 sheets here:
Sheet 1 - image 1 and
P.O. - image 2
What I would love to happen is that when I choose "Y" from Column A(Sheet 1) dropdown, then the Data from the ADJACENT ROW in Column A -COLUMNS C and D from the same sheet(Sheet 1)- will be populated/copied to the other sheet(PO).
So, it would be Sheet 1 Column C Data going to PO Sheet Column A, and Sheet 1 Column D Data going to PO Sheet Column B.
I have tried using my own IF code but it did not work.
=IF('Sheet 1'!A8:A="Y",(A2=B8,""))
Thank you,
All help will be greatly appreciated.
[1]: https://i.stack.imgur.com/Kw6Ul.png
[2]: https://i.stack.imgur.com/5OJIM.png

Your syntax is messed up.
Po A2=
=ARRAYFORMULA(IF('Sheet 1'!A8:A="Y", 'Sheet 1'!C8:C,""))
A better formula for Google sheets would be: Po A2=
=FILTER({'Sheet 1'!C8:C,'Sheet 1'!D8:D},'Sheet 1'!A8:A="Y")
Note that the last solution will not work in other inferior spreadsheet solutions, notably, Microsoft Excel.

Related

match two columns in seperate sheets and add other two columns

I have 2 excel spreadsheets in a single excel file. Both of these files have a Campaign Name column and sum_revenues column
My first problem is that I want to match the Campaign Name column in both the sheets and if they match then I want to add the sum_revenues value in the 1st spreadsheet to sum_revenues in the 2nd spreadsheet
I know that sumif or sumifs will be used but I do not know how I can apply them.
The output should be the addition of sum_revenues column in both the sheets based on the Campaign name matching criteria in the sum_final column which is present on the 2nd sheet.
I hope I am clear about the question but please let me know if there is any confusion.
Below is how sheet 1, Sheet 2 looks like.
Sheet 1:
Campaign Name sum_revenues
ABC 40
DEF 60
Sheet 2:
Campaign Name sum_revenues sum_final
ABC 30 70
GHI 10 0
Now please note that in Sheet 2 in which I want to output is that sum_final column has the sum_revenues added up from both the sheets because ABC is present in both the sheets and it should show 0 for those which do not match.
Try:
=IFERROR(VLOOKUP(A2,Sheet1!$A$2:$B$3,2,FALSE),0)+B2
Sheet 2 Images:
Below formula may help you, assuming that your sheet1 data available in column A & B and sheet 2 data available in Column D & E and finally F would be the result.
Type the formula
sumif(e:e,d:d,a:a)+sumif(a:a,d:d,b:b) +e3

Excel matching cell value and date range

i'm working on some data checking and faced problem to ease my checking. Hope anyone here can help me
I've two sheet of data
Sheet 1
John 01.10.2017 10.10.2017 A
Chloe 10.10.2017 10.10.2017 B
Jess 20.11.2017 22.11.2017 C
John 12.10.2017 13.10.2017 D
Sheet 2
Name Date Result
John 01.10.2017 A
John 11.10.2017 #N/A
Chloe 10.10.2017 B
I need a formula to cater on Sheet 2, result column.
If sheet 2 name with date fall/collision in btw sheet 1 date range, excel could help show the result
note that name on sheet 1 maybe repeated with different date range, but sheet 2 i wish to check the name whether conllision with sheet 1 data
Appreciate if anyone can help
First you need to format your dates properly. Format them as date times etc.
Then in the sheet 2 results column have a function something like this:
=IF(AND(A1=Sheet1!A1, B1>=Sheet1!B1, B1<=Sheet1!C1),TRUE,FALSE)
This will return TRUE for John for instance.
You then extend this for the rest of your cases.

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!

Match on 2 cells and return value from 3rd cell (Excel 2013)

I have 2 worksheets.
SHEET1 has numbers from 1-31 across Row 1. It has a list of cars in Column A (Ford, VW...).
SHEET2 has a list of cars in Column A, the day of the month in Column B and the condition in Column C (New, Used or Wreck).
I need to make a match on the car and the day of the month and then retrieve the condition.
For example:
SHEET2 has one row that shows:
Ford 8 New
SHEET1 shows at the intersection of Ford and 8 - "New".
Any help to resolve this is appreciated. I have looked at VLOOKUP, INDEX and MATCH until I am blue in the face, but I can't figure this one out! I also looked through this site and couldn't find any similar scenarios.
Thanks in advance.
The below works (based on a scaled-down version I set up based on your data.
Array formula is: =IFERROR(OFFSET($C$8,MATCH($A2&B$1,$A$9:$A$12&$B$9:$B$12,0),0),"")
For array formulas to work be sure to press Ctrl + Shift + Enter instead of just Enter when exiting edit mode.

Compare 2 sheets in 2 csv and replace value from one to the other

I'm trying to compare two sheets in excel and if matching "A" value then copy the value in the "B" to the other "I".
Ex:
Compare
Sheet 1 column A to Sheet 2 column A, if the Alpha numbers match then copy the value in Sheet 1 colum B into Sheet 2 colum I.
I have reference number in both A in need to replace the old image url by the new image url.
I have over 15 000 items and I will have to do this everyday so any automation would be great.
I have 2 csv files.
Any help would be appreciated
Thanks!
In Sheet2 column I using formular:
=IF(A1=Sheet1!A1,Sheet1!B1,"Value_if_not_match")
Hope this can help

Resources