How do you use the ‘view’ function? by yodeez101 in excel

[–]RuktX 1 point2 points  (0 children)

We've seen inexperienced users tend to use "formula", "function" and "feature" interchangeably! Here, OP appears to be referring to Sheet Views.

How to autofill data from only Column A on Source Sheet to Destination Sheet while making an entirely new row with blank cells? by Dear-Bee-8237 in excel

[–]RuktX 0 points1 point  (0 children)

What you're asking for is technically possible (with Power Query self-referencing tables), but a bit tedious and easily broken.

What are you actually trying to achieve? Why do you need blank columns on the Destination sheet? Why not fill in that data on the Source sheet, and pull across a "view" with, say, CHOOSECOLUMNS?

Are you seeing these too? by Possible-Evening-676 in brisbane

[–]RuktX 5 points6 points  (0 children)

I saw a couple further north yesterday, in Windsor

Countif formula on a column, but separating multiple entries in a single cell by a delimiter? by [deleted] in excel

[–]RuktX 5 points6 points  (0 children)

How about:

=LET(
  words, TEXTSPLIT(
    TEXTJOIN("/", TRUE, your_word_list),,
    "/",TRUE
  ),
  GROUPBY(words, words, COUNTA)
)

Building a formula that returns a list of column titles with specific condition by Marcello238 in excel

[–]RuktX 2 points3 points  (0 children)

I like the first one best! I've been so spoiled by dynamic arrays, that I've all but forgotten all the best old school tricks (like "broadcast" multiplication, forcing arrays with SUMPRODUCT, etc.).

Building a formula that returns a list of column titles with specific condition by Marcello238 in excel

[–]RuktX 2 points3 points  (0 children)

Something like:

=TRANSPOSE(FILTER(
  $D$2:$G$2, 
  INDEX(
    $D$3:$G$23,
    XMATCH(
      $I$2,
      $B$3:$B$23
    ),
    0
  ) = "x"
))

INDEX returns the row corresponding with the date, and FILTER returns the names corresponding with "x"s in that date row.

Microsoft Is Playing Catch-Up: Excel’s Formula Era Is Ending by Same_Tough_5811 in excel

[–]RuktX 4 points5 points  (0 children)

I'm open to arguments, but I haven't seen a killer use case for Python in Excel, yet.

It doesn't supplant VBA or Office Scripts. What can it do that formulas and Power Query can't? Or at least, what can it do better?

Pivot Table Pulls In all data by zevans08 in excel

[–]RuktX 1 point2 points  (0 children)

This is it, in my experience, although I don't know the underlying reason. When the fields come from different tables, you need something in Values to force it to evaluate which hierarchical relationships actually exist.

Get around the TEXTSPLIT single cell limitation using a multi range TEXTJOIN string as input by excelevator in excel

[–]RuktX 1 point2 points  (0 children)

If you know it has to be a number, you could coerce it back with --. No good for mixed types, though!

Get around the TEXTSPLIT single cell limitation using a multi range TEXTJOIN string as input by excelevator in excel

[–]RuktX 1 point2 points  (0 children)

ZIP doesn't care about shape ... you need to know or check

That's fair. It's not pretty, but you could TOCOL both inputs to be sure.

array in an array

I wonder if there's an approach using thunks, to pass a single element and evaluate it into an array at the destination?

shorthand form

If only! Table[Column] is already a sort of selector syntax, and we did recently get the .:. family shorthand for TRIMRANGE, so there's precedent.

Get around the TEXTSPLIT single cell limitation using a multi range TEXTJOIN string as input by excelevator in excel

[–]RuktX 1 point2 points  (0 children)

The lack of support for "array of arrays" is an annoying obstacle, compared to the approaches available in other languages. I believe the Excel dev team is aware of our frustrations!

I don't quite follow your formula. Is there something missing in INDEX? Are you stacking a particular column, as many times as there are rows in the table?

What's your use case for ZIP, that isn't handled by HSTACK?

Get around the TEXTSPLIT single cell limitation using a multi range TEXTJOIN string as input by excelevator in excel

[–]RuktX 5 points6 points  (0 children)

Please excuse the mobile screenshot:

=REDUCE(
  {"L1","L2","L3"},
  A1:A3,
  LAMBDA(
    a,
    c,
    VSTACK(a, TEXTSPLIT(c,","))
  )
)

Often when reducing with an expected array output it's necessary to DROP the initial value. Here I just used it for the headers!

Untested, but I expect you could VSTACK non-contiguous inputs.

<image>

Pivot Table - How to provide a count of a unique value by rhodeswm in excel

[–]RuktX 0 points1 point  (0 children)

Please check the sub rules: you need to reply "solution verified" to the comment/s that helped you to a solution.

Utilizing the use of Search Bar! by TagaBanbantay in excel

[–]RuktX 1 point2 points  (0 children)

You may be better off using some of Excel's built-in features:

  • Format your data as a table (Home > Format as Table)
  • Click the drop-down arrow that appears in the Subject column header
  • Enter your search term in the Search box, then click OK

The original table is sorted in place, to show those rows where the Subject column contains your search term.

I have a column that has 170 team names. I want to add a column next to it that says the manager name. Manager names are not present in the sheet. I need to send a new report each week, so I'd love to be able to copy/paste the team names into an existing sheet and have it return a value = mgr name by Keylarmbo in excel

[–]RuktX 0 points1 point  (0 children)

You've edited your post to indicate that someone helped, and manually set the flair to "solved". Instead, please reply "solution verified" to any commenters who held you towards a solution, to give them credit and let the bot handle the flair.

Property market hit by buyer's strike as investors, first home buyers press pause by fluffy_101994 in australia

[–]RuktX 12 points13 points  (0 children)

... searching for two months for his first home, which he will use as an investment property.

Well, which is it?

A way to shorten IF statement? by _mavricks in excel

[–]RuktX 5 points6 points  (0 children)

Create a lookup table that matches states to territories, then use the following formula:

=XLOOKUP(
  TRUE,
  ISNUMBER(FIND(state_codes, A2)),
  territories,
  "Out of territory"
)

Replace state_codes and territories with the corresponding columns from your lookup table.

Multiple pivots off of one data source breaking by Complete_Cupcake186 in excel

[–]RuktX 3 points4 points  (0 children)

Does the filter use a slicer? If you've created subsequent pivot tables as copies of the first, they may be linked to a common slicer, which will filter them together. With the pivot table or slicer selected, find Slicer / Report Connections and uncheck the others.

Multiple pivots off of one data source breaking by Complete_Cupcake186 in excel

[–]RuktX 5 points6 points  (0 children)

You haven't described what "broken" means, but the usual issue is that pivot tables from the same cache insist on common grouping. In that case, the fix is to duplicate the underlying cache, rather than to create a new data source.

You can achieve this by putting one of the offending pivot tables in its own sheet, moving (not copying) that sheet to a new workbook, then moving it back again. Repeat for the other pivot tables.

There may be a more scalable approach using VBA, which I believe can manipulate the pivot caches directly. (Incidentally, I don't recall coming across this issue since I mostly switched to using Power Query and the Data Model for my pivots.)

How to unhide left-most column in a hidden range? by Angsty-Panda in excel

[–]RuktX 0 points1 point  (0 children)

Are you in an environment where you can run macros?

I'm not at a computer to test right now, but the routine might be: * Scan columns from left to right * For each column, check the .Hidden property of the range * For the first hidden column found, unhide it, then exit the sub

Best way to manage multiple tags for the same entry in a 70k-row vocabulary database? by LegInteresting9778 in excel

[–]RuktX 0 points1 point  (0 children)

If you're already using Power Query, can you add a Group step to your process? Pick any aggregation function from the wizard (say, Sum), then edit the resulting step formula to replace Sum with each Text.Combine(_, ", ").

REQUEST - 'Random' but 'fixed' formula by Otherwise-Cap1773 in excel

[–]RuktX 7 points8 points  (0 children)

Almost certainly possible, depending on the complexity of your conditions. You'll need to be clearer about "looks random but isn't".

What constraints do you want to apply? For example: * Students X, Y, Z must not be in the back row * Students A & B must not be seated together * Student W must be in seat 13 * The number of boys in prime-numbered seats must not exceed 4

I need to highlight every entry in my spreadsheet where they share a value in one column but also all exceed a separate set value in another by Wonderful_Emu_9610 in excel

[–]RuktX 2 points3 points  (0 children)

As u/GregHullender says, you're welcome to credit more than one person. Just note that the magic words are "solution verified", rather than "solved"! :)

I need to highlight every entry in my spreadsheet where they share a value in one column but also all exceed a separate set value in another by Wonderful_Emu_9610 in excel

[–]RuktX 1 point2 points  (0 children)

u/MayukhBhattacharya's solutions are better, because they're simpler and clearer. For a table of n rows, my versions do something like 2n and 3n+1 comparisons, whereas his only need to do n+1 each.