User Profile
m_tarler
Bronze Contributor
Joined 3 years ago
User Widgets
Recent Discussions
Re: PLEASE HELP ME. Excel Time Formatting Not Working?
don't know why my previous post didn't show but what the others are trying to say is that you entered 28:44 but that is hours:min so that was 1day, 4hours, 44mins and showing hh:mm means you see 4:44 (the day is hidden). you need to use the format mm:ss under custom to SHOW mins:sec as noted by others, you need to ENTER the time 0:28:44 for excel to recognize it as hours:min:sec (if you only enter 28:44 excel assumes that to be hours:min) Alternatively you can enter it as 28:44.0 and excel will recognize that as min:sec and tenths of a second27Views0likes0CommentsRe: Conditional formatting based on a checkbox
In my online / web interface here is my Conditional Formatting (add new rule) window: notice the Fx all the way to the right, that is the use a custom formula. then you just need to use a formula like =$A1 where the $A needs to be the column where the checkbox is, and the 1 needs to match the first row in the "Apply to:" range11Views0likes0CommentsRe: Excel ignoring part of formula
You want to use <=0.01 not =0.01 but if that 0.01 could be in either direction (45.01-45 OR 45-45.01) then you want ABS(F3-G3)<=0.01 and then you also don't need that additional F3=G3 statement. You could also benefit from using IFS: =IFS(F3="","",ABS(F3-G3)<=0.01,1,F3>G3,3,F3<G3,0) by the way, the reason =0.01 probably didn't work is probably due to round off issues so although it shows as 0.01 that actual value may be 0.00999999999999 due to how decimals have to be represented. In fact you might need to use <=0.011 just to be sure in case the roundoff is the other direction and it is 0.0100000000001 (BTW the number of decimal places I am showing was random and not adjusted to that actual resolution that excel stores)34Views0likes1CommentRe: Getting the Same Range from an List of Sheets that Match a Variable
the problem is that in the 2nd FILTER you are still using "data" which presumably has more rows than "quarter" since you just filtered a bunch of row out. here is the 'simple' fix: =LET( data, VSTACK(Blank:QCs!AH16:AN71), quarter, FILTER(data, CHOOSECOLS(data,1) = 1), name, FILTER(quarter, CHOOSECOLS(quarter,2) = 145), IF(name = "", "", name) ) but there is no need to do 2 FILTER lines. you can do both in one filter: =LET( data, VSTACK(Blank:QCs!AH16:AN71), name, FILTER(data, (CHOOSECOLS(data,1) = 1)*(CHOOSECOLS(data,2) = 145)), IF(name = "", "", name) )39Views0likes0CommentsRe: Disappearing Script Button
Thank you NikolinoDE for confirmation of my findings. My only note is you should add to your section called "The button is:" the case where it is located in/on 'frozen' panes (that would not otherwise be in the visible range) as that appears to also cause the issue. As for the Workarounds, I don't understand the make a hidden sheet with a button on it as that doesn't work (at least for me). As for my workaround, I added 2 more components to make it even more reliable/usable: a) I added a link to the cell where that button should be to go to that other sheet specifically to a cell near that 'dummy button' b) I made that 'dummy button' a real script that activates the original sheet/tab the main reason for (b) is that I found if you switch to the other tab and back too quickly it may not load that missing button. I need to pause on that other tab for at least a second to make sure it loads, but telling users to click that other button will make sure it gets loaded and then it just returns them back to the main tab.22Views1like1CommentRe: Disappearing Script Button
Apparently I can't edit the Original post but have an update to report: The failure of the button from loading (i.e. disappearing) happens when the page loads with the button off-screen. That said, the button I'm having issues with is in cell C1 and we have first row and columns A:C frozen so they are always showing. So although it should be visible if the page loads showing the end of the document the button does not show but if it loads at the top of the document it will show the button. As for the dummy button a similar behavior exists. If the page loads to that tab lower in the document (i.e. not showing the button) then the button doesn't show when I scroll up. But if it loads to the top of the page, then the button does load. And if it doesn't initially load, switching back and forth between tab, even when the focus is now at the top where the button should be, doesn't make the button reappear. However, if I swap the tab order AND the focus is at the top where the button should be, then the button will reappear. And yes I did submit a bug to microsoft but unfortunately it was before I discovered this additional information and I can't edit that submission.25Views0likes0CommentsDisappearing Script Button
In the online version of excel, I have a script button keeps disappearing. This same button is fine on desktop and I don't believe this was a problem before. When I load the page it isn't there. I found that if I added another button on another sheet in that workbook, that when I switch to that sheet and then I return to the first sheet the button returns, but if I refresh the page again, the button disappears. If I switch to a tab without a script button then the button does not return. i have tried minimizing the browser, changing zoom levels, scrolling and such but the only thing I have found to make the button re-appear is switching to another sheet that has a script button on it (I created a 'dummy button' on that sheet). I don't know why this button that I need disappears while that 'dummy' button I put on the other tab doesn't disappear and I don't know why having that other button makes it reappear by just switching to that tab and back. a) has anyone else experienced any problem like this? b) does anyone have any ideas to try or why it is happening? thank you.Solved67Views0likes4CommentsRe: Hi, I need help. I'm creating a calendar, based on events at our farm, which are on different dates.
As always, mathetes is right that we are really guessing here and attaching a sample sheet or hosting one online (e.g. onedrive or google drive) would be a huge help. Based on your description I'm taking a guess and agree again with mathetes that your data format is the problem. So my guess is you have a sheet something like this: which is the problem so I created a helper sheet I called 'Dates' and converted the above to a more functional format with a date column followed by the event names: by the way the formula I used was: =LET(in,Events!B1:.Z99,c,COLUMNS(in), list,REDUCE(HSTACK("Date","Event"),SEQUENCE(c),LAMBDA(p,q,VSTACK(p,EXPAND(DROP(CHOOSECOLS(in,q),1),,2,INDEX(in,1,q))))), VSTACK(TAKE(list,1),SORT(DROP(FILTER(list,TAKE(list,,1)<>0),1)))) then i created a calendar like this: where the box under each date used a formula like this formula which was in B7 (under the day 6 box): =TEXTJOIN(CHAR(10),1,FILTER(TAKE(Dates!$A$1#,,-1),TAKE(Dates!$A$1#,,1)=B6,"")) I will try to attach the sample file separately1View1like1CommentRe: Simplifying cost calculation using array instead of IF statement
unfortunately this is a double post. Here is the solution I gave there: I can't edit that sheet so can't tweak things but what I think you want is something like this: =SUMPRODUCT(VSTACK(J8/H4,I8/H4,1,1,1,1,1),XLOOKUP(J4,B3:E3,B4:E10,E4:E10,-1)) so the VSTACK will line the AG, AU up with the corresponding rows in the table and the rest of the 1`s will just sum those values. The XLOOKUP will select the corresponding column based on the AG%. I based this the best I could interpret what you did in the equations you have in that sheet. but if not quite right hopefully will at least give you some ideas on how to make a more 'efficient' equation.32Views1like0CommentsRe: too many decimals places returned with concat from field with only two decimals
gorsuchjim The answer is still to use the TEXT() function (see Hans' first line). So you want to format a number to a fixed number of decimal places you use TEXT( [number], "format" ) so for 2 decimal places it would be TEXT( [number], "0.00" ). So in your example: =CONCAT( TEXT(C83/C84, "0.00") ,":1") so then the result of C83/C84 will be formatted to have 2 decimal places then CONCAT with ":1" best of luck22Views0likes0CommentsRe: Simplifying cost calculation using array instead of IF statement
I can't edit that sheet so can't tweak things but what I think you want is something like this: =SUMPRODUCT(VSTACK(J8/H4,I8/H4,1,1,1,1,1),XLOOKUP(J4,B3:E3,B4:E10,E4:E10,-1)) so the VSTACK will line the AG, AU up with the corresponding rows in the table and the rest of the 1`s will just sum those values. The XLOOKUP will select the corresponding column based on the AG%. I based this the best I could interpret what you did in the equations you have in that sheet. but if not quite right hopefully will at least give you some ideas on how to make a more 'efficient' equation.115Views1like0CommentsRe: Why can't I post my reply to this thread
are you attaching a file? this forum has an automoderation feature that seems to be a bit over zealous (IMHO) and doesn't allow many posts. Even from very established members that have hundreds or thousands of posts. It is rather frustrating if not down right infuriating. I created a reply to the overlapping time post with a complicated formula and a lengthy explaination of each line of the formula to only have it disappear. I hoped it would show up a day or so later (which sometimes happens) but it didn't, others already replied with other solutions and I have no desire to re-write it. That said just the other day I replied with a macro based solution. I got smart and broke the reply into 2: 1 without the file attached with images and code snippet and the 2nd with the file attached. So the first was no problem and the 2nd posted but without the file attached. I don't get it. Sry I'm not more help, but more in the same boat.48Views1like0CommentsRe: Move repeating columns into rows
The prior answers show how to restructure the data using Power Query but to your question of keeping the comments that are in the cells when reformatting the structure I'm pretty sure you would have to use a custom macro for that. I created one here and will try to attach a sample file next: Sub reformat_table() Application.ScreenUpdating = False Dim in_table, out_cell As Range Dim repeating_starting_column, repeating_count As Integer Dim ws As Worksheet Set ws = ActiveSheet Set in_table = ws.Range(InputBox("Select table range with repeating columns", "Input Table Range", Selection.Address)) Set out_cell = ws.Range(InputBox("Select cell for where output should be placed", "Output Table Location")) repeating_starting_column = 0 + InputBox("Column number where repeat begins", "Repeat Start") repeating_count = 0 + InputBox("Number of Columns that repeat", "Repeat Count") in_table.Range(in_table.Cells(0, 0), in_table(0, repeating_starting_column + repeating_count - 2)).Copy (out_cell.Cells(1, 1)) k = 2 For i = 1 To in_table.Rows().Count - 1 For j = repeating_starting_column - 1 To in_table.Columns().Count - 1 Step repeating_count If (in_table.Cells(i + 1, j + 1).Value2 <> "") Then in_table.Range(in_table.Cells(i, 0), in_table(i, repeating_starting_column - 2)).Copy (out_cell.Cells(k, 1)) in_table.Range(in_table.Cells(i, j), in_table(i, j + repeating_count - 1)).Copy (out_cell.Cells(k, 0 + repeating_starting_column)) k = k + 1 End If Next j Next i Application.ScreenUpdating = True End Sub If you highlight the source table before running the macro it will default that address range, then it will ask for the destination (cell), then the column where the first of the repeated columns starts (e.g. 2 in this example), and finally the number of columns that get repeated (e.g. again 2 in this example).8Views0likes0Comments
Recent Blog Articles
No content to show