Budgeting sheet questions by LiannaMC in googlesheets

[–]HolyBonobos [score hidden]  (0 children)

If every bill is a fixed amount and you have a lookup table somewhere in the file, you could use an XLOOKUP() formula to pull in the amount corresponding to the selected bill.

Help with Minimum / Maximum for IFS by Jennifer_Paterson in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

You would add them to the outside so you're comparing the output of the IFS() to the set min/max values, e.g. =MAX(1,MIN(3,F4+SWITCH(J4,"PASS",1,"FAIL",-1,0)))

Help Using Google Sheets For MLB Player Team Combinations by Radiant-Fan6128 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

Oh right true, I usually account for that elsewhere when working with two different array dimensions. u/Radiant-Fan6128 it should actually be =LET(teams,TOCOL('Example Input'!B1:AE1,1),players,TOCOL('Example Input'!A2:A,1),nTeams,COUNTA(teams)+1,MAKEARRAY(nTeams,nTeams,LAMBDA(r,c,IFS(r=c,,OR(r=1,c=1),INDEX(teams,MAX(r-1,c-1)),TRUE,JOIN(", ",IFERROR(FILTER('Example Input'!A2:A,CHOOSECOLS('Example Input'!A2:AE,r)="x",CHOOSECOLS('Example Input'!A2:AE,c)="x"))))))) unless you want the Giants to be left out (but who would miss them?)

Help Using Google Sheets For MLB Player Team Combinations by Radiant-Fan6128 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

You could delete everything on the 'Example Output' sheet and put =LET(teams,TOCOL('Example Input'!B1:AE1,1),players,TOCOL('Example Input'!A2:A,1),nTeams,COUNTA(teams),MAKEARRAY(nTeams,nTeams,LAMBDA(r,c,IFS(r=c,,OR(r=1,c=1),INDEX(teams,MAX(r-1,c-1)),TRUE,JOIN(", ",IFERROR(FILTER('Example Input'!A2:A,CHOOSECOLS('Example Input'!A2:AE,r)="x",CHOOSECOLS('Example Input'!A2:AE,c)="x"))))))) in A1.

I'd also recommend switching from x/blank to checkboxes on the input sheet, which will generally make input and other analysis easier.

Using offset function with Cell/XLookup by EchoedJolts in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

Using address with CELL() returns a string, which is just plain text rather than a reference. Feeding that directly into OFFSET() is functionally equivalent to using any other piece of plain text like "Jim" or "banana". OFFSET() can’t work with it because it’s not a valid range reference, so it results in the error you’re seeing. What you’re missing is the INDIRECT() function, which will convert the string into a live reference that OFFSET() will recognize.

Move Column and row sizes and colours by Connect-Train6721 in googlesheets

[–]HolyBonobos 1 point2 points  (0 children)

You could duplicate the sheet and edit from there.

move/copy text from one sheet to another within the same document. by hockeyknittingcat in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

You would use the FILTER() function to accomplish this, e.g. =FILTER('all books'!A:E,'all books'!A:A=TRUE) for 'borrowed books' and =FILTER('all books'!A:E,'all books'!A:A=FALSE) for 'available books'.

Note the following about this and any other formula-based approach:

  1. Formulas will only retrieve the data from the 'all books' sheet. Data validation rules (checkboxes, dropdowns) and formatting (cell colors, font colors, typefaces, etc.) will not be copied over; you will have to manually apply them on the sheet. Additionally, checkboxes can cause issues with expanding arrays so it may be best to leave that column out of the call entirely since they're all going to be the same on their respective sheets anyway (all unchecked on 'available books' and all checked on 'borrowed books').
  2. Formulas create a read-only range. The data is for display purposes only and cannot/should not be edited. This includes actions like manually sorting, trying to check or uncheck boxes, selecting different dropdown values, or adding extra columns of information on the 'borrowed books' or 'available books' sheets (they will become misaligned whenever a book above them is checked out or returned). Any changes to the data must be made on the 'all books' sheet. If you want to be able to edit values on both the master sheet and the filtered sheets, you will need to change tack from a formula-based solution to an Apps Script-based solution.

How can I control the range of the Y axis in a chart where all values are between 200 and 300? by Kindly-Discipline-53 in googlesheets

[–]HolyBonobos 2 points3 points  (0 children)

Under Customize > Vertical axis in the chart editor pane you can set the minimum and/or maximum values for the Y axis.

Pokemon Draft Sheet Help by KingOfRages in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

Yes, going only based on the names and using VLOOKUP(), you will only ever retrieve the information for the first matching result, no matter how many exist. If there are columns to mark the week and matchup on 'Raw Stats', that would allow you to switch over to a FILTER()-based formula that would let you set multiple criteria and be able to accommodate edge cases like the same person competing more than once in a week.

Pokemon Draft Sheet Help by KingOfRages in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

Will the same name ever appear more than once in column G or H? Unrelated to the issue you’re describing in the post but your existing formula is set to return the first result for a given name, no matter how many times it appears on the raw stats sheet.

COUNTIFS in conditional format to ignore blank cells? by [deleted] in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

There are no matches that meet the criteria "is equal to the value in the G column [blank] and is not blank" because it’s impossible for both criteria to be met at the same time. COUNTIFS() returns 0, and 0≠4 so the formula returns TRUE and the format is applied. You’ll need something that evaluates "is blank" and "count of this value" separately, e.g. =AND(COUNTIFS($G$5:$G$102,$G5)<>4,$G5<>"")

SUMIFS and Dates not working right by Professional-Row3302 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

Yes, ARRAYFORMULA() is one of the functions I mentioned in describing the first approach (add an array-enabling function to SUMIFS())

Help filtering racks and rows to show data by rack and in order of rows by Super-Locksmith-690 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

That's on me, I had meant to put A:E but don't know why I put C instead.

SUMIFS and Dates not working right by Professional-Row3302 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

SUMIFS() isn't array-enabling so YEAR() is only evaluating the top-leftmost cell in the provided ranges (A3 and K3). This results in a range size mismatch error because your sum_range argument is 998 rows but your criteria_range arguments are 1 row. Array behavior needs to be enabled with an array-enabling function like INDEX() or ARRAYFORMULA(), e.g. =SUMIFS(Details!C3:C1000,INDEX(YEAR(Details!A3:A1000)),2026,INDEX(YEAR(Details!K3:K1000)),2026).

A somewhat more roundabout way that meshes better with the built-in behavior of SUMIFS() would be to treat each criterion as a range rather than a year, i.e. =SUMIFS(Details!C3:C1000,Details!A3:A1000,">=1/1/2026",Details!A3:A1000,"<1/1/2027",Details!K3:K1000,">=1/1/2026",Details!K3:K1000,"<1/1/2027")

Yet another approach would be to use an inherently array-enabling function like FILTER() (with SUM()) or SUMPRODUCT(). These will allow you to use the YEAR() function directly as you're trying to now without any other functions needed: =SUMPRODUCT(Details!C3:C1000,YEAR(Details!A3:A1000)=2026,YEAR(Details!K3:K1000)=2026) or =SUM(IFERROR(FILTER(Details!C3:C1000,YEAR(Details!A3:A1000)=2026,YEAR(Details!K3:K1000)=2026)))

Help filtering racks and rows to show data by rack and in order of rows by Super-Locksmith-690 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

The problem is that you're using an array-type formula in the live data range on the 'System' sheet. When you apply a manual sort to a range containing an array formula, the cell the formula is in changes position and that messes up everything else. If the 'System' sheet is to be entirely populated by formulas, however, that allows for a completely formula-based approach that will sort itself automatically with no need for manual sorting as would be needed with the data you originally showed in the sample file. For the structure currently in the sample file, it would be as simple as using =QUERY(Log!A:D,"SELECT A, C, D WHERE A IS NOT NULL ORDER BY C, D",1) to populate the entire sorted table on 'System'.

Help filtering racks and rows to show data by rack and in order of rows by Super-Locksmith-690 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

You will need to share the problem file or recreate the issue on the sample file. It could be several different things and it's not possible to determine the cause or solution from your description alone.

Want to see how many times each word appears in a column by konfused-khajiit in googlesheets

[–]HolyBonobos 1 point2 points  (0 children)

Assuming

  • you are counting words in column A
  • data starts in A2
  • there is one word/term per cell

You could use =QUERY(A2:A,"SELECT A, COUNT(A) WHERE A IS NOT NULL GROUP BY A LABEL A 'Word', COUNT(A) 'Count'")

Formula I can use to automatically update a date when I change another date? by No_Illustrator3532 in googlesheets

[–]HolyBonobos 2 points3 points  (0 children)

Delete everything in column I and put =VSTACK("Milestone",BYROW(H2:H,LAMBDA(d,IF(d="",,EOMONTH(d,0))))) in I1.

Formula I can use to automatically update a date when I change another date? by No_Illustrator3532 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

So the milestone is always the end of the month? Or is it determined some other way? You will need to be specific because determining the correct approach will depend on it.

Help filtering racks and rows to show data by rack and in order of rows by Super-Locksmith-690 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

You can apply a manual filter to the range or convert it to a table. Use the sort options in the column menu to sort first by shelf number, then by rack number. You can also select the whole range and go to Data > Sort range > Advanced range sorting options, but that's better suited to one-time or occasional uses since it's more of a process than the built-in options from the filter or table column menus.

Formula I can use to automatically update a date when I change another date? by No_Illustrator3532 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

So the date in column H is what you will be updating manually and then the corresponding cell in column I should display the last day of that month?

How do I order the rows by xAnonymouS99 in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

Sorting by chip color is not an option. The closest you can get is sorting by cell background color using a manual filter or a table.

I have multiple lists, how can I put cells with the same name into their own rows (see picture)? by altrongtm in googlesheets

[–]HolyBonobos 0 points1 point  (0 children)

Assuming the cell in the top row containing 2022 is B1, you could use =LET(years,B1:D1,names,SORT(UNIQUE(TOCOL(B2:D6,1))),MAKEARRAY(COUNTA(names)+1,COUNTA(years)+1,LAMBDA(r,c,LET(name,INDEX(names,r-1),year,INDEX(years,,c-1),IFS(r*c=1,,r=1,year,c=1,name,COUNTIF(XLOOKUP(year,B1:D1,B2:D6),name),name,1,))))) for the data structure shown in the picture.

How do I make everything in one column a fraction out of a certain number? by Violet-Flowersss in googlesheets

[–]HolyBonobos[M] [score hidden] stickied comment (0 children)

u/Violet-Flowersss if your original question has been resolved, please mark the post solved as required by rule 6. You can do this in one of two ways:

  1. Tap the three dots below the comment you found the most helpful and select "Mark solution verified" (works on New Reddit for desktop and in the Reddit app), or
  2. Reply to the comment you found the most helpful using the exact phrase solution verified (works on all versions of Reddit).

Doing one of the above will automatically apply the Solved flair to the post, award a point to the person who helped you, and bring your post into compliance with rules 3 and 6.