New answers tagged

2

The general formula as you asked is: =((NETWORKDAYS(today(),eomonth(today(),-1)))*-1)-1 Using fixed values for today "02/10/2019" for dates the above formula would be: =NETWORKDAYS("30/09/2019","02/10/2019") We use eomonth(today(),-1), so we take as our starting date the last day of the previous month. We multiply the whole formula by -1 because we ...


0

The key word in your formula is not Query but GOOGLEFINANCE. Your query is correct. But please take into account the following. As mentioned under GOOGLEFINANCE documentation page: attribute is one of the following for historical data: "open" - The opening price for the specified date(s). "close" - The closing price for the specified date(s). "high" -...


-1

If you want the Easiest Method to Convert Timestamp to Human Readable Dates then try this Timestamp Converter Tool


0

I am used to doing this in Open Office. Being UK I used the dd/mm/yyyy format, which Google does not recognise. So if I enter 2/10/2019, adding 1 produces 2/11/2019. Choose Oct/2 as format and then you can just do =[original cell] + 1 to get Oct/3.


0

Formula =ArrayFormula(ARRAY_CONSTRAIN(SPLIT(B2:B,"T"),COUNTA(B2:B),1)) To separate date-time values formatted as 2018-11-01T20:16:52 (text values) use SPLIT use an open-ended reference (B2:B)to split values added lately without having to edit the formula use T as separator. use ARRAY_CONSTRAIN to return split the values of non-empty cells. Use COUNTA ...


0

I figured it out. Not the most elegant solution but it works. The "var col = s.getRange(4,1).getValue();" is just a MATCH function. I'd still prefer to have the row lookup without hardcoding the row number but this works until I add stuff. The bit at the end just resets the data entry spaces to match the "recommended" amounts by formula. function ...


0

INDEX use 1 based indexes, meaning that the indexes start on 1. By the other hand to make QUERY return no column headers use use the clause label to set the column label to empty strings. Example: =INDEX(QUERY($A$3:$K; "SELECT sum (F) where C='Reg'and K='"& K15&"' label sum (F) ''");0)


0

Set the spreadsheet locale setting to Bulgaria or to another country that u use a dot as date separator. Related Change Google Sheets default date format with other locale


2

Solution with a Formula : A1 : =ArrayFormula(if( mod(ROW(A1:A100),4)=1, text((round(ROW(A1:A100)/4)*7)+43730,"dddd dd mmm yy") ,) ) Solution with drag and drop Enter the dates in the cells : A1 is the first sunday, A5 is the second with this formula =A1+7 ...


0

A simpler solution (single formula) than the one on the other answer. Add the following formula to C2 =ArrayFormula({ A1:B4; FILTER({A1+ROW(A1:A4),IFERROR(ROW(A1:A4)/0,0)}, ISNA(MATCH(A1+ROW(A1:A4),A:A,0))) }) NOTE: This is similar but not exactly the same content from my answer to the related questions. On the other answers, instead of 0 a blank ...


0

A simpler formula than the one on the other answer. Add the following formula to C1 =ArrayFormula({ A1:B3; FILTER({A1+ROW(A1:A3),IFERROR(ROW(A1:A3)/0,)}, ISNA(MATCH(A1+ROW(A1:A3),A:A,0))) }) In case that you have a larger source data, Replace A1:B3 and A1:A3 accordingly. Then do the Copy / Paste as values only steps, either by using the Google ...


1

It looks like you are looking for a single formula solution but they could be hard to understand and maintain, specially if you aren't familiar on how the Google Sheets related features works. Related features Dates. Google Sheets handles dates as serialized numbers, where a day is one unit. Because of the above feature we could create a list of dates by ...


Top 50 recent answers are included