I have two sheets in my document. The first sheet’s columns are days (A-C) and the rows are specific attributes for each day (temperature, cloud cover, rain, etc).
On the second sheet, I have a data validation drop down selector, it’s contents sourced from the “Days” strip (A-C, so it displays A-C as options) in sheet one. When I select day C for example, I want all the attributes for that day to populate in cells down the page. It should update depending on which page is selected.
Much appreciated, thank you.
Image: https://ibb.co/DgvnLLc
Use MATCH to find the column index that corresponds to the dropdown value.
Use OFFSET to retrieve the corresponding column data.
=OFFSET(Sheet1!B3, 1, MATCH(A2,Sheet1!B3:D3,0)-1, 3)
Related
Collections Sheet
Expenses Sheet
Hi, I would like to get the daily sum/difference of the expenses from the expenses sheet then output to collections sheet using dates as reference/identifier.
I tried this code =MINUS(C8,INDEX(Expenses!20:31,12,2)) but I want it to auto compute when I drag the box. sorry for bad english. thank you
Desired output:
Desired Output
Output at (Net) Cash On Hand Row / Reference Date Column, the output should be August 1 Collection - August 1 Expenses.
The main issue is with the structure of your expense sheet, since you need to use only every second column. For this you can use various methods, something like
=split(substitute(join(";",Expenses!A2:DJ2),"Total:;",""),";")
The join function takes the whole row and joins it into one string, the substitute function removes the Total: from it, along with the trailing ; and the split function separates it again to separate values. This will be an array, automatically spread out to 31(-ish) columns width if entered into a cell like C10 on your Collections sheet.
Then you have two options, simply do =C8-C10 in C9, which you can drag with no problem. You can also hide the row 10 by making the text color white, or even integrate it in that sheet.
My recommendation however is not to do any of that, instead enter the formula
=arrayformula(C8:AG8 - split(substitute(join(";",Expenses!A2:DJ2),"Total:;",""),";")
into C9 on the Collections sheet and it's taken care of, without the need to drag it out. You might need to tweak it, not sure if the AG8 and DJ2 are the correct columns to end them on (should be the last column if every column or every 2 columns is a day). The arrayformula makes sure that the subtractions are done automatically for each pair of values, and expanded automatically into the row. Make sure that there are no values or formulas in D9:AG9, so it can fill up the values automatically and you don't get a #REF error.
How can I populate an array, with a specific financials table from another sheet, depending on the chosen company in the dropdown list?
SO... populate the blue-area in DASHBOARD!, with the blue-area in FINANCIALS!, because it matches the company in the dropdown menu on DASHBOARD!.
Or is there an easier way to do this. In essence... I want the chosen company's key financials to be shown, when it is chosen in the dropdown menu...
Thank you so much in advance!
GOOGLE SHEETS LINK
You can try the ‘QUERY’ function.
In the “FINANCIALS” sheet - Column A , I added the name of the company (you can hide this column if you prefer). This way we can make a query and return only rows that match with that specific company.
In the “DASHBOARD” sheet, cell D15, I added the following:
=QUERY(FINANCIALS!A6:H42,"select C,D,E,F,G,H where A='"&B10&"'",0)
And after formatting the rows with Number/Percent, this is the result which matches with the information in the "FINANCIALS" sheet:
I need to compare two different sheets to find matching values between them.
In the first sheet, I have a list of order numbers and in the second one, I have a list that needs dispatching. Therefore, without scrolling through the sheet manually for the 1000+, I'd like to use a formula or conditional formatting in order to flag the values that are the same (or all of the different values) so I can simply copy and paste this into another sheet.
I have shared a link to a google sheet below if someone could help with this that would be very much appreciated.
Edit: The second sheet (on the google document) is the list of all orders and the first are the ones to be dispatched. I need to know which one's from the second sheet are missing from the first.
https://docs.google.com/spreadsheets/d/18vSBu9GzxK1UMCE2RrDyNSH6yi-FzTvuABsVw9r172Y/edit?usp=sharing
In second sheet in column B you could do:
=COUNTIF(Sheet1!A:A,A2)
IF the formula returns 0, it means that id number is not in your first sheet.
I am trying to make a spreadsheet for my teachers that will assign them particular students to call each day based on how many periods they are absent during the day. I currently have a hyperlink set up on the Dashboard page so teachers can click their names and see a filter view of which calls they need to make for 8/24. Is it possible to make a single filter view that would simultaneously show where their name is assigned for 8/24 in Column H AND where their name is assigned for 8/25 in Column O? My goal is for them to click a single hyperlink on the Dashboard which takes them to all the calls they need to make for the week WITHOUT me having to make five separate links for each day of the week.
Solution
You should extend the Filter View range to cover the other columns you need to filter.
In this case for the "Amber" Filter View, you should have Range: A1:P116. Then select the proper filter on the column H and O: Filter by Values: Amber.
With the filter view still open, copy the URL in your browser and paste it in the HYPERLINK formula you have in the "Dashboard" Sheet.
What I am looking to do is have a list of items in a dropdown list in cell A1. Lets say the list is "Presidents, Movie Stars, Rappers".
When I select Presidents I want Column B in Sheet 1 to list all the presidents with column C listing their party they represented and column D to list their years in office. When I select Movie stars I want column B to List various Movie Star names, Column C to list number of movies starred in and Column D to display their highest paid film.
So in short I want 1 dropdown to populate 3 columns worth of data.
Everything I have looked up uses scripts(which I think this is completely doable without using) uses VLOOKUP but has 1 cell worth of data appear(ex, A1 dropdown displays data in A2 but not data in B1:B50, C1:C50, and D1:D50) or doesnt worth with multiple columns of data. I am fine if the data pulls from another sheet I just think there is a better way to do this then filling in 200+ cells with an if:then function based on my selection in cell A1. Anyone know an easy way to do this?
An elegant solution, in my opinion, is to do something like the following:
Create a column (which you can later hide) that has all value combinations, with a delimiter between the values. For example, you could have "Presidents>Barack Obama>Democrat>2008-2016"
Then create a simple function (no VLOOKUP needed!) to pull the individual values by using FIND to findn the location of the delimiters and split the combination.