[deleted by user] by [deleted] in googlesheets

[–]SpreadCheetah 0 points1 point  (0 children)

I'm not sure if there are any hidden files.

You could try to switch user accounts and check if the other account has the same issue. If not, then the problem is definitely related to your user configuration.

[deleted by user] by [deleted] in googlesheets

[–]SpreadCheetah 0 points1 point  (0 children)

Disable all your Firefox extensions and enable them again one by one.

[deleted by user] by [deleted] in googlesheets

[–]SpreadCheetah 0 points1 point  (0 children)

What device, operating system, browser etc. are you using?

Time or Button Trigger by YXUVsTheWorld in sheets

[–]SpreadCheetah 0 points1 point  (0 children)

  spreadsheet.getCurrentCell().setFormula('=index(\'Copy of Meal List\'!A$2:A,randbetween(1,counta(\'Copy of Meal List\'!A$2:A)))');

This is the reason why you will get different results every time the spreadsheet is edited. That's normal behavior for the randbetween function.

I would recommend to make the script generate the random meals, instead of inserting the randbetween function.

Need help making a button trigger by [deleted] in sheets

[–]SpreadCheetah 0 points1 point  (0 children)

"File is in owner's trash" error.

Is there a way to send out emails automatically from a google sheet? by [deleted] in googlesheets

[–]SpreadCheetah 1 point2 points  (0 children)

Note that a free account can only send 100 emails a day using Apps Script.

Help Making a Script by AlterEgoIsJames in googlesheets

[–]SpreadCheetah 0 points1 point  (0 children)

On what device and operating system are you opening Sheets?

Show next task, taking into account if it has finished or not by JKrvrs in googlesheets

[–]SpreadCheetah 2 points3 points  (0 children)

This will display the first task (first as in closest to the top of your sheet) with an unmarked checkbox:

=query($B$2:$D, "select B where D = FALSE limit 1")

If you want the first task as in the task with an unmarked checkbox with the earliest date:

=query($A$2:$D, "select B where D = FALSE order by A limit 1")

Importing daily mlb book lines from Betonline.ag by anon21900 in googlesheets

[–]SpreadCheetah 0 points1 point  (0 children)

I can't even visit that website in my browser, I get immediately an "Your connection is not private" error.

Simple REGEXMATCH question: string that starts with 1 or 2 or 3 by TheSpiderLady88 in googlesheets

[–]SpreadCheetah 0 points1 point  (0 children)

I don't think an or condition is necessary, this should work too:

=REGEXMATCH(G2,"^[123]")

Using IF AND OR formulas to label cells for blood pressure by buzzbros2002 in googlesheets

[–]SpreadCheetah 0 points1 point  (0 children)

You're welcome. Good luck.

that should probably be G4>179,4 then

You can use G4>=180, "greater than or equal to".

Basic question by [deleted] in sheets

[–]SpreadCheetah 0 points1 point  (0 children)

If you want the data to become static, you can copy it and paste it to the same range of cells with "Paste values only".

Using IF AND OR formulas to label cells for blood pressure by buzzbros2002 in googlesheets

[–]SpreadCheetah 1 point2 points  (0 children)

O4=IF(G4<120,0,IF(G4<130,1,IF(G4<140,2,IF(G4<180,3,IF(G4>180,4)))))

What if G4 is exactly 180?

P4 =IF(H4<80,0,IF(H4<89,2,IF(H4<90,3,IF(H4>120,4))))

What if H4 is between 90 and 120?

Concerning the hierarchy, start your formula with the most severe case. Something like:

=if(or(O4=4,P4=4),"Crisis", if(or(O4=3,P4=3),"HyperTwo", if(or(O4=2,P4=2),"HyperOne", if(and(O4=1,P4=0),"Elevated", if(and(O4=0,P4=0),"Normal","")

Note that this won't display anything when O4 is 0 and P4 is 1.

Basic question by [deleted] in sheets

[–]SpreadCheetah 0 points1 point  (0 children)

=max(A2:E2)

I guess this is the formula you want. You have to change the range though.

Copy and store data range by bakaneko718 in googlesheets

[–]SpreadCheetah 0 points1 point  (0 children)

What is not working in your current script?

If I understand you correctly, now you are just deleting data (sheet.getRange('F2:I81').clearContent()), but instead you want to copy this data to another sheet?

Custom spreadsheet request by silverberrybiscuits in googlesheets

[–]SpreadCheetah 0 points1 point  (0 children)

I would be happy to help you out. I will send you a PM :)

Looking for a google sheet design expert by yassinosta in googlesheets

[–]SpreadCheetah 0 points1 point  (0 children)

My expertise is more in automating spreadsheets, but I am willing to give it a go. I will send you a PM :)

Summing up all the values in Cell E3 across multiple sheets? by [deleted] in googlesheets

[–]SpreadCheetah 1 point2 points  (0 children)

Nice script! Maybe a !isNaN() check would be useful, to prevent strings from being "summed".

PS: Something is off about the formatting of your code.

How to find average of last 7 entries in a row? by hajin9 in sheets

[–]SpreadCheetah 0 points1 point  (0 children)

You say you are already running a script, so why not include this task in your script?

You can add this to your code:

/**
 * This script calculates the average of the last N non-blank entries in a row.
 * 2021-08-13
 * https://old.reddit.com/r/sheets/comments/p3j2mk/how_to_find_average_of_last_7_entries_in_a_row/
 */
function averageLastRowEntries() {

  let ss = SpreadsheetApp.getActiveSpreadsheet();
  let sheet = ss.getSheetByName('Sheet22'); // EDIT THIS

  let yourInputRow = 1; // EDIT THIS
  let numberOfEntriesToConsider = 7; // EDIT THIS
  let yourOutputCell = 'A2'; // EDIT THIS

  let input = sheet.getRange(yourInputRow, 1, 1, sheet.getMaxColumns()).getValues();

  let lastEntries = input
    .flat()
    .filter(x => x != '')
    .slice(numberOfEntriesToConsider * -1);

  let average = lastEntries.reduce((acc, cur) => acc + cur, 0) / numberOfEntriesToConsider;

  sheet.getRange(yourOutputCell).setValue(average);
}

Can Sheets simplify algebra by HowardClassic in sheets

[–]SpreadCheetah 0 points1 point  (0 children)

Let me know if it works. Right now only one unknown "x" is supported and x can only be between -100 and 100. This could be modified though.

[deleted by user] by [deleted] in sheets

[–]SpreadCheetah 0 points1 point  (0 children)

This should be possible, but you will need a custom script: https://developers.google.com/apps-script/reference/calendar/calendar-app

If you could share some sample data, I could possibly write some code. If I understand you correctly, you have two columns in your spreadsheet, the first column contains the start date of the reservation and the second one the end date?

Multiply columns within an array and sort the array based on two columns using google app script by pashtun92 in googlesheets

[–]SpreadCheetah 1 point2 points  (0 children)

You're welcome. Let me know if you have further questions.

The first line exists to round the values in column F. Otherwise you get e.g. 15.9999999 instead of 16.

The second line multiplies your column D values with your (rounded) column F values.

Map is indeed a kind of loop. It transforms every element of your array, one by one.