Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 85
Default stop False from appearing

I'm trying to use LOOKUP to place an employee's name in cell H4. The
employee's name in H4 is associated with a number (piece of work) in A4. The
number in A4 stays the same but 2 different employees do the same work on
separate days.
Monday & Friday are the days these different employee's do the work. I use
cell A1 to enter the day. My workbook has 2 sheets, sheet 1 is feeder, it has
the numbers & name. 2 is the sheet I use to record the work being preformed,
and the sheet I need the names to appear. I have come close, but I get False
next to the correct Name. Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&IF( A1="Friday",LOOKUP(A4,Feeder!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE, and Friday
FALSEJohn Doe. How can I stop the FALSE from appearing


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,059
Default stop False from appearing

On Jul 25, 7:35 pm, Dale G wrote:
Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&
IF(A1="Friday",LOOKUP(A4,Fee*der!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE,
and Friday FALSEJohn Doe. How can I stop the FALSE from appearing


That's why IF() has 3 parameters. You need to put something in the
3rd parameter, probably "" (null string). Try this:

=IF(A4="Monday", LOOKUP(A4,Feeder!$H$24:$I$43), "") &
IF(A1="Friday", LOOKUP(A4,Fee*der!$A$2:$C$83), "")


----- original posting -----

On Jul 25, 7:35*pm, Dale G wrote:
I'm trying to use LOOKUP to place an employee's name in cell H4. The
employee's name in H4 is associated with a number (piece of work) in A4. The
number in A4 stays the same but 2 different employees do the same work on
separate days.
Monday & Friday are the days these different employee's do the work. I use
cell A1 to enter the day. My workbook has 2 sheets, sheet 1 is feeder, it has
the numbers & name. 2 is the sheet I use to record the work being preformed,
and the sheet I need the names to appear. I have come close, but I get False
next to the correct Name. Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&IF( A1="Friday",LOOKUP(A4,Fee*der!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE, and Friday
FALSEJohn Doe. How can I stop the FALSE from appearing *


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 85
Default stop False from appearing

Thank you, that's what I needed to Know, it works great. Also I notice I
made a mistake when writting my post, A1 is for Monday & or Friday.

"joeu2004" wrote:

On Jul 25, 7:35 pm, Dale G wrote:
Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&
IF(A1="Friday",LOOKUP(A4,FeeĀ*der!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE,
and Friday FALSEJohn Doe. How can I stop the FALSE from appearing


That's why IF() has 3 parameters. You need to put something in the
3rd parameter, probably "" (null string). Try this:

=IF(A4="Monday", LOOKUP(A4,Feeder!$H$24:$I$43), "") &
IF(A1="Friday", LOOKUP(A4,FeeĀ*der!$A$2:$C$83), "")


----- original posting -----

On Jul 25, 7:35 pm, Dale G wrote:
I'm trying to use LOOKUP to place an employee's name in cell H4. The
employee's name in H4 is associated with a number (piece of work) in A4. The
number in A4 stays the same but 2 different employees do the same work on
separate days.
Monday & Friday are the days these different employee's do the work. I use
cell A1 to enter the day. My workbook has 2 sheets, sheet 1 is feeder, it has
the numbers & name. 2 is the sheet I use to record the work being preformed,
and the sheet I need the names to appear. I have come close, but I get False
next to the correct Name. Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&IF( A1="Friday",LOOKUP(A4,FeeĀ*der!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE, and Friday
FALSEJohn Doe. How can I stop the FALSE from appearing



  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,059
Default stop False from appearing

PS....

On Jul 25, 7:35 pm, Dale G wrote:
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))
&IF(A1="Friday",LOOKUP(A4,Fee*der!$A$2:$C$83))


It just occurred to me: it seems strange that your second condition
is A1="Friday", but your second lookup is still based on A4, just like
your first lookup. Perhaps you meant to write A1 in the second
lookup. But I wonder if you meant to write A4="Friday". In that
case, perhaps the better way to write the formula is:

=IF(A4="Monday", LOOKUP(A4,Feeder!$H$24:$I$43),
IF(A4="Friday", LOOKUP(A4,Fee*der!$A$2:$C$83), ""))

It does not alter the solution to the root cause of your problem,
namely: you need to fully specify both "if-true" and "if-false"
actions.



On Jul 25, 7:35*pm, Dale G wrote:
I'm trying to use LOOKUP to place an employee's name in cell H4. The
employee's name in H4 is associated with a number (piece of work) in A4. The
number in A4 stays the same but 2 different employees do the same work on
separate days.
Monday & Friday are the days these different employee's do the work. I use
cell A1 to enter the day. My workbook has 2 sheets, sheet 1 is feeder, it has
the numbers & name. 2 is the sheet I use to record the work being preformed,
and the sheet I need the names to appear. I have come close, but I get False
next to the correct Name. Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&IF( A1="Friday",LOOKUP(A4,Fee*der!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE, and Friday
FALSEJohn Doe. How can I stop the FALSE from appearing *




  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,124
Default stop False from appearing

Untested but you might try.

=LOOKUP(A4,if(a1="Monday",Feeder!$H$24:$I$43,FeeĀ* der!$A$2:$C$83)


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Dale G" wrote in message
...
Thank you, that's what I needed to Know, it works great. Also I notice I
made a mistake when writting my post, A1 is for Monday & or Friday.

"joeu2004" wrote:

On Jul 25, 7:35 pm, Dale G wrote:
Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&
IF(A1="Friday",LOOKUP(A4,FeeĀ*der!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE,
and Friday FALSEJohn Doe. How can I stop the FALSE from appearing


That's why IF() has 3 parameters. You need to put something in the
3rd parameter, probably "" (null string). Try this:

=IF(A4="Monday", LOOKUP(A4,Feeder!$H$24:$I$43), "") &
IF(A1="Friday", LOOKUP(A4,FeeĀ*der!$A$2:$C$83), "")


----- original posting -----

On Jul 25, 7:35 pm, Dale G wrote:
I'm trying to use LOOKUP to place an employee's name in cell H4. The
employee's name in H4 is associated with a number (piece of work) in
A4. The
number in A4 stays the same but 2 different employees do the same work
on
separate days.
Monday & Friday are the days these different employee's do the work. I
use
cell A1 to enter the day. My workbook has 2 sheets, sheet 1 is feeder,
it has
the numbers & name. 2 is the sheet I use to record the work being
preformed,
and the sheet I need the names to appear. I have come close, but I get
False
next to the correct Name. Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&IF( A1="Friday",LOOKUP(A4,FeeĀ*der!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE, and
Friday
FALSEJohn Doe. How can I stop the FALSE from appearing




  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,059
Default stop False from appearing

On Jul 26, 7:49*am, Dale G wrote:
Thank you, that's what I needed to Know, it works great. Also I notice I
made a mistake when writting my post, A1 is for Monday & or Friday.


You're welcome.

For the future, it is best to cut-and-paste examples to avoid such
mistakes. (Unless you are saying you had the same mistake in the
worksheet.)

If I understand you correctly, dovetailing my "PS" follow-up, you
might try the following instead:

=IF(A1="Monday", LOOKUP(A4,Feeder!$H$24:$I$43),
IF(A1="Friday", LOOKUP(A4,Fee*der!$A$2:$C$83), ""))
  #8   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 85
Default stop False from appearing


When I first wrote my post, I made a typo. A1 is were I enter the day.
here's what I have and it works very well.
Mondays off
=IF($A$1="Monday",LOOKUP(A4,Feeder!$H$24:$I$43),"" )&IF($A$1="Friday",LOOKUP(A4,Feeder!$A$2:$C$83),"" )
Fridays off
=IF($A$1="Monday",LOOKUP(A7,Feeder!$A$2:$C$83),"") &IF($A$1="Friday",LOOKUP(A7,Feeder!$H$3:$I$22), "")
Thanks again,
"joeu2004" wrote:

PS....

On Jul 25, 7:35 pm, Dale G wrote:
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))
&IF(A1="Friday",LOOKUP(A4,FeeĀ*der!$A$2:$C$83))


It just occurred to me: it seems strange that your second condition
is A1="Friday", but your second lookup is still based on A4, just like
your first lookup. Perhaps you meant to write A1 in the second
lookup. But I wonder if you meant to write A4="Friday". In that
case, perhaps the better way to write the formula is:

=IF(A4="Monday", LOOKUP(A4,Feeder!$H$24:$I$43),
IF(A4="Friday", LOOKUP(A4,FeeĀ*der!$A$2:$C$83), ""))

It does not alter the solution to the root cause of your problem,
namely: you need to fully specify both "if-true" and "if-false"
actions.



On Jul 25, 7:35 pm, Dale G wrote:
I'm trying to use LOOKUP to place an employee's name in cell H4. The
employee's name in H4 is associated with a number (piece of work) in A4. The
number in A4 stays the same but 2 different employees do the same work on
separate days.
Monday & Friday are the days these different employee's do the work. I use
cell A1 to enter the day. My workbook has 2 sheets, sheet 1 is feeder, it has
the numbers & name. 2 is the sheet I use to record the work being preformed,
and the sheet I need the names to appear. I have come close, but I get False
next to the correct Name. Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&IF( A1="Friday",LOOKUP(A4,FeeĀ*der!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE, and Friday
FALSEJohn Doe. How can I stop the FALSE from appearing



  #9   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 85
Default stop False from appearing

sorry, that was a typo. thanks for pointing that out.

"Don Guillett" wrote:

Untested but you might try.

=LOOKUP(A4,if(a1="Monday",Feeder!$H$24:$I$43,FeeĀ* der!$A$2:$C$83)


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Dale G" wrote in message
...
Thank you, that's what I needed to Know, it works great. Also I notice I
made a mistake when writting my post, A1 is for Monday & or Friday.

"joeu2004" wrote:

On Jul 25, 7:35 pm, Dale G wrote:
Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&
IF(A1="Friday",LOOKUP(A4,FeeĀ*der!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE,
and Friday FALSEJohn Doe. How can I stop the FALSE from appearing

That's why IF() has 3 parameters. You need to put something in the
3rd parameter, probably "" (null string). Try this:

=IF(A4="Monday", LOOKUP(A4,Feeder!$H$24:$I$43), "") &
IF(A1="Friday", LOOKUP(A4,FeeĀ*der!$A$2:$C$83), "")


----- original posting -----

On Jul 25, 7:35 pm, Dale G wrote:
I'm trying to use LOOKUP to place an employee's name in cell H4. The
employee's name in H4 is associated with a number (piece of work) in
A4. The
number in A4 stays the same but 2 different employees do the same work
on
separate days.
Monday & Friday are the days these different employee's do the work. I
use
cell A1 to enter the day. My workbook has 2 sheets, sheet 1 is feeder,
it has
the numbers & name. 2 is the sheet I use to record the work being
preformed,
and the sheet I need the names to appear. I have come close, but I get
False
next to the correct Name. Here is what I'm using.
=IF(A4="Monday",LOOKUP(A4,Feeder!$H$24:$I$43))&IF( A1="Friday",LOOKUP(A4,FeeĀ*der!$A$2:$C$83)).
This works except for when I enter Monday I get Jim SmithFALSE, and
Friday
FALSEJohn Doe. How can I stop the FALSE from appearing




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to stop the last record always appearing when I Autofilter TAG Excel Discussion (Misc queries) 1 July 26th 06 12:48 PM
How to stop reviewing bar from automatically appearing ChAnDeRu Excel Discussion (Misc queries) 12 July 9th 05 02:13 PM
How do I stop the template help from appearing on startup Allan_D_Ziegler Excel Discussion (Misc queries) 0 July 6th 05 04:24 AM
how do I stop this appearing.......#DIV/0! Scudo New Users to Excel 5 July 3rd 05 01:14 AM
Stop autofill icon from appearing? lvh519 Excel Discussion (Misc queries) 1 November 30th 04 02:02 AM


All times are GMT +1. The time now is 01:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"