I an trying to create an "IF" formula to bring data into a separate column without spaces in the new column (I want to bunch the data together in a column)
i have attached a spreadsheet to show to better explain
I an trying to create an "IF" formula to bring data into a separate column without spaces in the new column (I want to bunch the data together in a column)
i have attached a spreadsheet to show to better explain
Try this array formula
Enter in I2 and copy down
Formula:Please Login or Register to view this content.
**Must be entered with Ctrl+Shift+Enter key combination.
Last edited by AlKey; 09-01-2017 at 01:29 PM.
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
Use this arrAY FORMULA:
=IFERROR(INDEX(A:A,SMALL(IF($H$3:$H$225>TIME(0,31,0),ROW($H$3:$H$225)),ROWS(L$9:L9))),"")
Note (gold cells) some values in column A are missing, but which otherwise meet your criteria.
Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Here is a VBA solution:
Please Login or Register to view this content.
How to install your new code
- Copy the Excel VBA code
- Select the workbook in which you want to store the Excel VBA code
- Press Alt+F11 to open the Visual Basic Editor
- Choose Insert > Module
- Edit > Paste the macro into the module that appeared
- Close the VBEditor
- Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)
To run the Excel VBA code:
- Press Alt-F8 to open the macro list
- Select a macro in the list
- Click the Run button
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
thank you all for your help
the IFERROR works for me but I would like to add IF(A:A="delivery") to filter once more for my result
as well I would like to eliminate the 0's
I have added the column on the spreadsheet
the VBA solution pulls all numbers across without the spaces but does not filter to the >0:30
Last edited by norm01; 09-02-2017 at 01:31 PM. Reason: attachment
Amended formula:
=IFERROR(INDEX(B:B,SMALL(IF($I$2:$I$225>TIME(0,31,0),IF($A$2:$A$225="Delivery",ROW($I$2:$I$225))),ROWS(M$9:M9))),"")
still an array formula...
You're welcome.
If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.
It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks