I have created a master sheet which imports the data for the other sheets which are representing the dates of the month. In the sheet the master sheet cell A2 has the formula to import from the other sheets which the google sheet
Google Spread Sheet.
The issue I am facing is that if in the formula I change the sheet 10 range from A2:CH to A2:CO it gives an error
Error
In ARRAY_LITERAL, an Array Literal was missing values for one or more rows.
I am not being able to find the problem as this is not a permissions issue and neither does sheet 10 have any data in this case.
full code is below:
=UNIQUE(query({'1'!A2:CO;'2'!A2:CO;'3'!A2:CO;'4'!A2:CO;'5'!A2:CO;'6'!A2:CO;'7'!A2:CO;'8'!A2:CO;'9'!A2:CO;'10'!A2:CO;'11'!A2:CO;'12'!A2:CO;'13'!A2:CO;'14'!A2:CO;'15'!A2:CO;'16'!A2:CO;'17'!A2:CO;'18'!A2:CO;'19'!A2:CO;'20'!A2:CO;'21'!A2:CO;'22'!A2:CO;'23'!A2:CO;'24'!A2:CO;'25'!A2:CO;'26'!A2:CO;'27'!A1:CO;'28'!A2:CO;'29'!A2:CO;'30'!A2:CO;'31'!A2:CO},"select * where Col1 is not null"))
Related
The Google Sheets formula below is located in column A1 of my Google Sheet. This formula creates data in column A & B. I need to transpose this data into 1 row
=GOOGLEFINANCE(A2,"price",TODAY()-30,TODAY())
=TRANSPOSE(GOOGLEFINANCE(A2,"price",TODAY()-30,TODAY()))
The transpose formula successfully transposes the data in the 2 columns to 2 rows, as it should. My question is, will there be a way to transpose two columns of data into 1 single row - I have searched around for a solution for Google Sheets without any Luck.
you can use famous "double query smush" like:
=QUERY(TRANSPOSE(QUERY(TRANSPOSE(GOOGLEFINANCE(A2, "price", TODAY()-30, TODAY())),,999^99)),,999^99)
=QUERY(IMPORTRANGE(“1faaDUoRSVzjZTSbEowsdDCBtVF-CTVaJ1vXef-qi3xU","Trial!A:Q"),"Select Col1,Col2,Col3,Col4,Col5,Col6,Col11 WHERE Col1 contains 'Mumbai'")
Tried the above formula but not working
Link for the Data sheet containing the data is mentioned below:
https://docs.google.com/spreadsheets/d/1faaDUoRSVzjZTSbEowsdDCBtVF-CTVaJ1vXef-qi3xU/edit?usp=sharing
I want to build a tool that lets me insert a spreadsheet in a given format into sheet1. Then it takes some data and inserts it into a specified location in sheet2.
I am using functions in the following format at the moments:
=Sheet1!AI2
For every column, I need the data from all rows i.e sheet1 A1 to sheet2 B2, Sheets A2 to sheet B3 ...
There are hundreds of rows and I don't want to copy-paste it and manually change the row number.
Is there a way to do it like this:
=Sheet1!AI(rownumber-1)
That way it would work for all rows.
Thanks for taking the time and reading this!
Try putting this in Sheet2!B2
=ARRAYFORMULA(Sheet1!AI:AI)
or this (it will give you the same result):
=INDEX(Sheet1!AI:AI)
Be sure that Sheet2 has at leas one more row than Sheet1. Google Sheets will automatically add 500 new rows, but if the numbers of rows in those sheets are codependent than rows will be added in a loop up until the limit.
I am trying to highlight duplicate cells of Column A in sheet 1 by matching Column A in sheet 2. I used this formula in conditional formatting in sheet 1.
=countif(INDIRECT("2!A:A"),A1)>1
But it not working.
In sheet 1 Column A has these items
In sheet 2 Column A has these items
Here is the formula
Here is the google sheet
I check other links, but couldn't complete the task. So I am posting a new post.
your formula should be:
=COUNTIF(INDIRECT("2!A:A"),A1)>0
I know how sumif works when I need to access it within the same Google "workbook" (using the analogy from excel). By workbook I mean a collection of sheets, not sure whether there is a different way to refer to Google workbook.
For example in the sheet (Example 3): https://docs.google.com/spreadsheets/d/1Dm-N-1X38zHartE3JbPUtWDnYwEpkGHl6v06huvjSa8/edit#gid=0
I have Sheet2, with column A contain strings and column B containing numerical value. On sheet 1, I have a sumif function which can be query data stored in Sheet2, and sum the cells which match A1 in Sheet1.
The problem starts happening when I try to refer to ranges in a completely different workbook, which is shown below.
I am trying to do a sumif over 2 ranges from a different "workbook". The data is stored here (Example 2): https://docs.google.com/spreadsheets/d/1P5Inf09fLSRmsGbG7LwlE4V-r7DzqY0SB5tJuMKMZH0/edit#gid=0
The Sumif function is in Cell B1 of the following sheet (Example 1):https://docs.google.com/spreadsheets/d/1AitilELd6w7Dbv9d-mKhBYGTBaO6DdkU29Y5mofX2TI/edit#gid=0.
From my understanding importrange is typically used to refer to ranges in completely different workbooks, as a result I use importrange as the first and last arguments in the sumif function in the Sheet Example 1.
What am I doing wrong? Why is this not working?
Can anybody help?
Thanks a lot
See if this query does what you want:
=SUM(query( QUERY( Importrange("1P5Inf09fLSRmsGbG7LwlE4V-r7DzqY0SB5tJuMKMZH0","Sheet1!A1:B10") ) , "select Col2 where Col1 contains '"&A1&"'" ) )