Re: How to filter through multiple “Arrays” at once?
Is this the same issue as
http://www.excelforum.com/exce…tiple-arrays-at-once.html
Did my response not help you?
Re: How to filter through multiple “Arrays” at once?
Is this the same issue as
http://www.excelforum.com/exce…tiple-arrays-at-once.html
Did my response not help you?
Re: UnSelecting or DeSelecting a Range and or Cell using a Method or Function?
QuoteAfter an Excel Macro finishes does it always have to hide the selected cell in some way in order to give the worksheet a clean look?
I'm not sure what you mean by a "clean look" or why a "clean look" is important.
Some cell has to be selected at any time. "Nothing selected" is not possible in Excel.
Re: Loop through every combination in Array
Its not clear when you want to stop.
In the attached, it will loop through all 2^18 possibilities, I'm not sure what you want to do with the results.
Re: Possible to Autofilter records based on comparison of values between two columns?
If you have headers, you could use AdvancedFilter.
If your data is in columns A,B,C and D then leave column E blank, and cell F1 blank and put the formula =(B2<C2) in F2 (do not drag down).
Then invoke AdvancedFilter and use F1:F2 as the criteria range.
Note that to use Advanced filter, every column of the data range has to have a unique header and there can be no blank rows.
The rows above and below and the columns to the right and left of the data range have to be empty.
If one were to drag the formula down, you would want it to return TRUE for those rows displayed. But don't drag the formula down.
Re: Find part of a number to create a specific word
Try
=SUBSTITUE(A1, "W", "FQR")
or
="FQR"&(MID(A1,2,255)+0)
Re: Disable error checking via vba
One note, if this file is for some other user, they would be really mad if your code turned their ErrorChecking on (as opposed to their choice of Off).
Like all global settings, one should restore the initial settings rather than resetting them to MS defaults.
Dim PriorErrorChecking As Boolean
Private Sub Workbook_Open()
PriorErrorChecking = Application.ErrorCheckingOptions.BackgroundChecking
Application.ErrorCheckingOptions.BackgroundChecking = False
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.ErrorCheckingOptions.BackgroundChecking = PriorErrorChecking
End Sub
Display More
Re: Find the value regardless of the position
That's the approach that my solution would take.
Re: Find the value regardless of the position
Something like the attached should work.
Re: Find the value regardless of the position
It looks like the return for the Cherry Plum Plum line should be $22
Re: Find the value regardless of the position
Why don't you explain your situation and list all the conditions you want tested for and their results.
How many different kinds of fruit? Are you looking at only groups of 3? Are there always 3 or might there be only 2.
Does order matter (is Cherry Lemon Lemon the same result at Lemon Cherry Lemon)
Re: Find the value regardless of the position
Try
CHOOSE(1+COUNTIF(D1:F1,"Cherry"),0, 2, 5, 10)
Re: Find the value regardless of the position
Something like CHOOSE(1+((LEN(A1)-LEN(SUBSITUTE(A1,"CHERRY",""))/LEN("CHERRY")),0,2,5,10)
Re: Formatting range to days hours minutes
Your data in F2 is in decimal hours. Excel's date system is based on days.
To do this on a work sheet, one would have a helper column in G2 with the formula =F2/24.
Then INT(G2) would be the number of days, HOUR(G2) the number of hours and MINUTE(G2) the number of minutes.
The formula that you are looking for is =IF(1 < G2, INT(G2)& " Days ", "") & HOUR(G2) & " Hours " & MINUTE(G2) & " Minutes"
or you could substitute F2/24 for G2 throughout that formula.
Re: Excel Userform Data Entry into Specific Cells
Rather than attaching a screen shot of the user form, it would be better if you attached a sample workbook with the data columns.
Rather than an open ended "What row do you want to approve", you probably could have the user form detect which rows have yet to be approved and give the user information from those rows so they can select what they want to approve.
"Look through the worksheet
Find the information you want to approve.
Note the row number.
Open the user form.
Enter that row number
Press Submit"
Is pretty complicated and includes a "remember and reenter correctly" source of error.
"Open the user form
Find the info you want to approve from a list
click on that row on the list.
Pres Submit"
is a better user interface. No remembering numbers, no mis entering numbers, just "click on what you want"
Re: Formatting range to days hours minutes
This formula should convert decimal hours into day hh:mm format
=INT(A1/24)&TEXT(A1/24," hh:mm")
Re: Filter using Textbox Value
Try DateValue(TextBox1.Text) in the filter criteria.
Re: Multiple Criteria SUMIF Error
If your numbers are in row 22 and the text you are "if'ing" against are in row 15 and the test values are in row 255, that should work.