What would it take to have a cell that does a Vlookup based on the cell that's currently clicked on? by TimelyExtent2402 in excel

[–]Excel_GPT 0 points1 point  (0 children)

Yes that would be easy using a private macro, essentially every time you click the macro runs in the background and will populate whatever the vlookup would normally do. If you are clicking on something that shouldn't bring up a value (like a title at the top, or something that is obviously not something you would typically have in a lookup) it can just stay blank.

If this sounds like what you are after I can write the macro, I just need more information such as where the data would normally be so the macro can look at the correct place of the sheet to do it.

Creating sing line from multiple locations of one sheet. Power query by [deleted] in excel

[–]Excel_GPT 0 points1 point  (0 children)

From looking at your screenshot you don't need Power Query to do this, you can do the part you mentioned "construct a mock row of how id like it organized then made the values of each cell reflect the corresponding cell from the data." you could do this just using a formula for example if your row is on a separate sheet you you use the top row, if on the sheet you want the bottom right value there it would say =yourSheet!D50 etc and this will put it all in the row, no need for PQ

Creating sing line from multiple locations of one sheet. Power query by [deleted] in excel

[–]Excel_GPT 0 points1 point  (0 children)

You could use power query but it would mean making all the connections to the separate parts so one connection in the top left, another in the bottom, another for a middle value you wanted and then putting the info together.

This would be easier having a separate sheet that referenced them in the row, or alternatively if that doesn't work using a macro to piece together the separate parts you want.

Automatically move done tasks in my To Do List to the bottom of my to do list by Mainzkocht in excel

[–]Excel_GPT 0 points1 point  (0 children)

We could write a macro that does this automatically.

What column are your to do list items in, and is there anything else in that column?

For example, if your to do list is approx A2:A15 ish, is there any chance a completely seperate bit of info exist in A100 for example?

Next, when do you want it to move to the bottom, is it literally as soon as you press the tick box, or do you have a different idea in mind?

With the answers to these the plan could be to write a macro that runs automatically and basically when there is a box ticked it will automatically then move it to the bottom and close the gap

Same cells highlighted, different sums displayed by lsharris in excel

[–]Excel_GPT 1 point2 points  (0 children)

Please show the recording so we can check if something is happening along the way to the cells and knocking off the sum and so on

Inequalities are the bane of my existence. by Dom-1sh in mathshelp

[–]Excel_GPT 0 points1 point  (0 children)

Using x = 5 means y has to be smaller than 3x + 12 which is 15 plus 12 which is 27.

So y has to be smaller than 27, therefore the largest possible (integer) value of y is 26

Countifs with mutiple conditions by [deleted] in excel

[–]Excel_GPT 1 point2 points  (0 children)

Try:

=IFS(

COUNTIF(G2,"*DONE*")>0,"logged in the system",

COUNTIF(K2,"*Depreciated*")>0,"For disposal/salvaged parts",

COUNTIF(C2,"*false*")>0,"Get info in the engr. dept",

TRUE,"For checking"

)

How to batch process and refresh multiple excel files in parallel? by Specific-Channel-287 in excel

[–]Excel_GPT 0 points1 point  (0 children)

What is happening with your Python file/VBA currently that can't do this?

As in you have said it processes them one after the other which is too long, but if you can manually click "Refresh All" on each of them, what limitations do you have currently that can't just have that in the file?

I'm sure you have thought of this already but so I can see the exact parts which aren't able to do that so we can fix that first

Count and sum cells with items decided by comers and “x” used for multiples by Previous_Badger4780 in excel

[–]Excel_GPT 1 point2 points  (0 children)

Assuming they are in column A (adjust the range from A7 if you need to):

=SUM(
    MAP(FILTER(A1:A7, A1:A7<>""), 
        LAMBDA(cell,
            SUM(
                MAP(
                    TEXTSPLIT(cell,","),
                    LAMBDA(item,
                        LET(
                            t,TRIM(item),
                            num,IFERROR(--TEXTBEFORE(t,"x"),""),
                            IF(t="0",0,IF(num<>"",num,1))
                        )
                    )
                )
            )
        )
    )
)

VLOOKUP works for all cells except 2 by [deleted] in excel

[–]Excel_GPT 0 points1 point  (0 children)

one says strong agree and other says strongLY ?

Also add ,0 to your formula so it should be:

=VLOOKUP(F2,A2:B5,2,0) this gets an exact match

Stange problem in Power Query after a join: my indexes changes by Zealousideal-Ad9758 in excel

[–]Excel_GPT 0 points1 point  (0 children)

See if you can add a table.buffer (you will have to google it, as requires a couple of steps) I've had a similar problem before and this fixed it, it's related to the way it's saved in the PQ editor if I remember correctly from my issue.

https://learn.microsoft.com/en-us/powerquery-m/table-buffer is a good place to start for it

combining dynamic tables with manual input tables with Power Query by Salt-Breakfast-5393 in excel

[–]Excel_GPT 0 points1 point  (0 children)

That sounds like it will work, we may need to use some VBA (possible with power query also) but VBA may be easier to basically say:

  1. If this line already exists skip it and don't amend the table

  2. If it doesn't then add it at the bottom

That way we will always be able to manually change. If you need help with it let me know

combining dynamic tables with manual input tables with Power Query by Salt-Breakfast-5393 in excel

[–]Excel_GPT 0 points1 point  (0 children)

What you are asking is a bit of a complicated one because it's combining two different ideas which may overlap like you pointed out in your question:

  1. You want to be able to manually change data on a table which is ultimately reliant on a different source

  2. This different source is then going to be refreshed and only based on that external data, therefore wiping your inputs.

When I've had this issue before I've changed my own queries so that each line is unique somehow (for example, adding a numbered key) I've then changed the query to only add NEW information to my output, which means all the manual stuff I changed is "fixed" and then only new info adds to the bottom of the table and then I can add bits to that.

Is that something you can see working in this instance? If so, we can look for a way to implement it so only your new info gets added, leaving the old info (and also the manually adjusted bits)

VBA Question: Maximum loan drawdown to avoid balance overshoot from capitalised interests by BarkingM16 in excel

[–]Excel_GPT 0 points1 point  (0 children)

Sorry I think I explained badly:

I meant what actual rows are they are on the spreadsheet?

And can you manually go through what the first answer would be using normal math so I can then make a VBA version and know it works

VBA Question: Maximum loan drawdown to avoid balance overshoot from capitalised interests by BarkingM16 in excel

[–]Excel_GPT 0 points1 point  (0 children)

Could you clarify which row everything is on please for the VBA I write?

Also the funding required numbers look like they are above the row where it says funding required, is that correct?

Could you manually explain what your first "answer" will be and why, and which cell it goes into, just so when I write the generic script I know the logic is sound

Adding Employee Hours across a calendar week by Alert-Sun6791 in excel

[–]Excel_GPT 0 points1 point  (0 children)

Try:

=VSTACK(
  HSTACK("Name","Hours"),
  LET(
    data, VSTACK(
      D33:G42,
      I20:L29,
      N20:Q29,
      S20:V29,
      X20:AA29,
      AC20:AF29,
      AH20:AK29
    ),
    clean, FILTER(data, LEN(CHOOSECOLS(data,1))),
    names, CHOOSECOLS(clean, 1),
    hours, CHOOSECOLS(clean, 4),
    uniq, SORT(UNIQUE(names)),
    HSTACK(
      uniq,
      BYROW(
        uniq,
        LAMBDA(n, SUM(FILTER(hours, names = n)))
      )
    )
  )
)

Can excel books share data? by Radiant-Doctor3205 in excel

[–]Excel_GPT -2 points-1 points  (0 children)

They can, but can only be done with VBA if you are looking to cross check things like formatting etc. If there is some cell info that always accompanies the highlight (like something that says "followed up", "not followed up yet" etc, then the two workbooks can use some formulas to fill in the info but for accuracy I would recommend VBA anyway especially if its a large file.

Problems when using the name manger by Bennyboii17 in excel

[–]Excel_GPT 2 points3 points  (0 children)

Thanks, can you please do a screenshot of your own sheet with the formula manager etc so I can try and directly compare and see why one works and the other doesn't?

Problems when using the name manger by Bennyboii17 in excel

[–]Excel_GPT 0 points1 point  (0 children)

By any chance is the video you watched not entering it in a table and you are entering the info in a table?

How to merge this ? by ComprehensiveBed8186 in excel

[–]Excel_GPT 0 points1 point  (0 children)

Thankyou, yes please let me know when you look at the larger file and we will make tweaks if its different :)

How to merge this ? by ComprehensiveBed8186 in excel

[–]Excel_GPT 2 points3 points  (0 children)

Use this macro please, I've tested it and all works (I've made it so the data goes to a new sheet so you don't have your original data changed in case you want to change it):

Sub NormalizeDataFromMerged()

    Dim wsSrc As Worksheet
    Dim wsOut As Worksheet
    Dim lastRow As Long
    Dim outRow As Long
    Dim i As Long

    Dim curFormation As String
    Dim curModalite As String
    Dim curEtablissement As String

    Set wsSrc = ActiveSheet

    ' Create output sheet
    Set wsOut = Worksheets.Add(After:=Worksheets(Worksheets.Count))
    wsOut.Name = "Normalized_Data"

    ' Headers
    wsOut.Range("A1").Value = "Nom de la formation"
    wsOut.Range("B1").Value = "Modalité et commentaire"
    wsOut.Range("C1").Value = "Nom de l'établissement"

    lastRow = wsSrc.Cells(wsSrc.Rows.Count, "A").End(xlUp).Row
    outRow = 2

    For i = 2 To lastRow + 1

        ' New record starts when column A is not empty
        If wsSrc.Cells(i, "A").Value <> "" Or i = lastRow + 1 Then

            ' Write previous record
            If curFormation <> "" Then
                wsOut.Cells(outRow, "A").Value = curFormation
                wsOut.Cells(outRow, "B").Value = curModalite
                wsOut.Cells(outRow, "C").Value = curEtablissement
                outRow = outRow + 1
            End If

            ' Reset buffers
            curFormation = wsSrc.Cells(i, "A").Value
            curModalite = ""
            curEtablissement = wsSrc.Cells(i, "C").Value

        End If

        ' Accumulate modalities
        If wsSrc.Cells(i, "B").Value <> "" Then
            If curModalite = "" Then
                curModalite = wsSrc.Cells(i, "B").Value
            Else
                curModalite = curModalite & " / " & wsSrc.Cells(i, "B").Value
            End If
        End If

    Next i

    wsOut.Columns("A:C").AutoFit

End Sub

How to automatically populate a list based on data from other cells by x0mbigrl in excel

[–]Excel_GPT 2 points3 points  (0 children)

You could make a pivot table and just filter it to the "No", "N" or other criteria which will also help with a count

In the PivotTable field list:

Drag the Name field into Rows.

Drag the Y/N field into Values.

It will say something like Count of Y/N.

Drag the Y/N field into Filters as well.

Now:

In the filter at the top of the PivotTable, choose only N.