Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2011, 08:44 AM
beb1227 beb1227 is offline help with a look up or if formula Windows XP help with a look up or if formula Office 2007
Novice
help with a look up or if formula
 
Join Date: May 2011
Posts: 18
beb1227 is on a distinguished road
Default help with a look up or if formula

I am trying to come up with a formula that will do the following.



*I want it to search through sheet 1 Columns E through O

**I want it to look for the text HOLD

any time that it finds the word HOLD, I want it to paste the entire Row that it is found in sheet 2



not sure if this is a look up formula....or an if

anyone able to help
Reply With Quote
  #2  
Old 12-30-2011, 08:58 AM
JBeaucaire JBeaucaire is offline help with a look up or if formula Windows XP help with a look up or if formula Office 2003
Advanced Beginner
 
Join Date: Dec 2011
Posts: 51
JBeaucaire is on a distinguished road
Default

You don't really need a second sheet for this, you can AUTOFILTER the data right there on sheet1.

Does the word HOLD represent an entire cell contents or is it part of a longer sentence?

If column Z is empty, for instance, you could put this formula in Z2 then copy down to see if HOLD is in E2:O2

=OR(ISNUMBER(SEARCH("HOLD", E2:O2)))

...confirm that formula by pressing CTRL-SHIFT-ENTER to activate the array. Then copy that cell down the column. You now have a series of TRUE/FALSE results.

Do an AUTOFILTER on that column for TRUE and you are now looking at all the rows that fit, the others are hidden.
Reply With Quote
  #3  
Old 12-30-2011, 09:03 AM
beb1227 beb1227 is offline help with a look up or if formula Windows XP help with a look up or if formula Office 2007
Novice
help with a look up or if formula
 
Join Date: May 2011
Posts: 18
beb1227 is on a distinguished road
Default

actually, each row is an item....and starting at column E is a step in a process with the item.

if the item is holding at the first stage in E.....a person would put HOLD....and so on. there should never be more than one HOLD listed in a row at a time.

I am able to Auto Filter....but kinda wanted to have a sheet that would just list all of the items that are currently HOLDING at any stage of our process.....and be listed on a seperate sheet for easy review.
Reply With Quote
  #4  
Old 12-31-2011, 01:08 PM
JBeaucaire JBeaucaire is offline help with a look up or if formula Windows XP help with a look up or if formula Office 2003
Advanced Beginner
 
Join Date: Dec 2011
Posts: 51
JBeaucaire is on a distinguished road
Default

Then in that same empty column create a HOLD KEY index. Use this formula in Z2 and copy down:

=IF(OR(ISNUMBER(SEARCH("HOLD", E2:O2))), N(Z1) + 1, N(Z1))


Now you have a unique list of index numbers going down that column.

On a separate sheet you can collect the first instance of each key.

Column A:
KEY
1
2
3
4
5
6
etc....

In column B, at B2, then copied down:

=IF(ISNUMBER(MATCH(A2, Sheet1!$Z:$Z, 0)), INDEX(Sheet1!$A:$A, MATCH(A2, Sheet1!$Z:$Z,0)), "")

This presumes the information you want to list is in column A.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
help with a look up or if formula help with formula? doczilla Excel 2 09-25-2011 04:14 PM
help with a look up or if formula Help with formula please. AndrewSE Excel 3 04-05-2011 08:50 PM
help with a look up or if formula Help with Formula Corca Excel 6 02-22-2010 09:40 PM
help with a look up or if formula If formula sixhobbits Excel 1 10-02-2009 08:02 AM
Help for formula dehann Excel 5 05-01-2009 10:44 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft