Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
len len is offline
external usenet poster
 
Posts: 53
Default How to check all three cells are greater than 0% and then lookup v

I have a spreadsheet which references 8 others and has data loaded from
another system.

I am trying to get the final part of the worksheet to check the three fields
(which are IF/VLOOKUPS) are ALL greater than 0%.

If they are then the function is to do one final VLOOKUP to return another %.

I have no problems with using IF or VLOOKUP and I have tried AND which
always produces a TRUE response even if one or two of the cells are empty or
zero. I can not see how LOOKUP would work and I would need more that 7 IF
statements trying that route.

Your help would be appreciated as this will save one person manually
calculating figures for over 1/2 day in HR.

Thanks in advance


--
Len
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How to check all three cells are greater than 0% and then lookup v

Len,

use MIN

=IF(MIN(A1:A3)0,"do this lookup","Do something else")

Mike

"Len" wrote:

I have a spreadsheet which references 8 others and has data loaded from
another system.

I am trying to get the final part of the worksheet to check the three fields
(which are IF/VLOOKUPS) are ALL greater than 0%.

If they are then the function is to do one final VLOOKUP to return another %.

I have no problems with using IF or VLOOKUP and I have tried AND which
always produces a TRUE response even if one or two of the cells are empty or
zero. I can not see how LOOKUP would work and I would need more that 7 IF
statements trying that route.

Your help would be appreciated as this will save one person manually
calculating figures for over 1/2 day in HR.

Thanks in advance


--
Len

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
len len is offline
external usenet poster
 
Posts: 53
Default How to check all three cells are greater than 0% and then look

Mike H

Thank you for your reply. However it returns the VLOOKUP when one of the
cells is zero.

Re-reading my original note I may have caused confusion so I will try again:

Each of the cells must be greater than 0% before I pull through the VLOOKUP.

A1 B1 C1
0% 5% 7% False no VLOOKUP
3% 5% 7% True perform VLOOKUP

Hope this helps you?

Thanks in advance


--
Len


"Mike H" wrote:

Len,

use MIN

=IF(MIN(A1:A3)0,"do this lookup","Do something else")

Mike

"Len" wrote:

I have a spreadsheet which references 8 others and has data loaded from
another system.

I am trying to get the final part of the worksheet to check the three fields
(which are IF/VLOOKUPS) are ALL greater than 0%.

If they are then the function is to do one final VLOOKUP to return another %.

I have no problems with using IF or VLOOKUP and I have tried AND which
always produces a TRUE response even if one or two of the cells are empty or
zero. I can not see how LOOKUP would work and I would need more that 7 IF
statements trying that route.

Your help would be appreciated as this will save one person manually
calculating figures for over 1/2 day in HR.

Thanks in advance


--
Len

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 75
Default How to check all three cells are greater than 0% and then look

Surely you just need:-
=IF(AND(A10,B10,C10),VLOOKUP(etc),"")

--
Alan Moseley IT Consultancy
http://www.amitc.co.uk

If I have solved your problem, please click Yes below. Thanks.


"Len" wrote:

Mike H

Thank you for your reply. However it returns the VLOOKUP when one of the
cells is zero.

Re-reading my original note I may have caused confusion so I will try again:

Each of the cells must be greater than 0% before I pull through the VLOOKUP.

A1 B1 C1
0% 5% 7% False no VLOOKUP
3% 5% 7% True perform VLOOKUP

Hope this helps you?

Thanks in advance


--
Len


"Mike H" wrote:

Len,

use MIN

=IF(MIN(A1:A3)0,"do this lookup","Do something else")

Mike

"Len" wrote:

I have a spreadsheet which references 8 others and has data loaded from
another system.

I am trying to get the final part of the worksheet to check the three fields
(which are IF/VLOOKUPS) are ALL greater than 0%.

If they are then the function is to do one final VLOOKUP to return another %.

I have no problems with using IF or VLOOKUP and I have tried AND which
always produces a TRUE response even if one or two of the cells are empty or
zero. I can not see how LOOKUP would work and I would need more that 7 IF
statements trying that route.

Your help would be appreciated as this will save one person manually
calculating figures for over 1/2 day in HR.

Thanks in advance


--
Len

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How to check all three cells are greater than 0% and then look

len,

That's what my formula did. here it is again with the ranges corrected.

=IF(MIN(A1:C1)0,"do this lookup","Don't do lookup")

Mike

"Len" wrote:

Mike H

Thank you for your reply. However it returns the VLOOKUP when one of the
cells is zero.

Re-reading my original note I may have caused confusion so I will try again:

Each of the cells must be greater than 0% before I pull through the VLOOKUP.

A1 B1 C1
0% 5% 7% False no VLOOKUP
3% 5% 7% True perform VLOOKUP

Hope this helps you?

Thanks in advance


--
Len


"Mike H" wrote:

Len,

use MIN

=IF(MIN(A1:A3)0,"do this lookup","Do something else")

Mike

"Len" wrote:

I have a spreadsheet which references 8 others and has data loaded from
another system.

I am trying to get the final part of the worksheet to check the three fields
(which are IF/VLOOKUPS) are ALL greater than 0%.

If they are then the function is to do one final VLOOKUP to return another %.

I have no problems with using IF or VLOOKUP and I have tried AND which
always produces a TRUE response even if one or two of the cells are empty or
zero. I can not see how LOOKUP would work and I would need more that 7 IF
statements trying that route.

Your help would be appreciated as this will save one person manually
calculating figures for over 1/2 day in HR.

Thanks in advance


--
Len



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
len len is offline
external usenet poster
 
Posts: 53
Default How to check all three cells are greater than 0% and then look

Alan/Mike

Thank you for your help but I had tried both of your suggestions and it
still picks up the VLOOKUP even if one or two cells are blank or Zero.

Could it be the Excel settings?
--
Len


"Alan Moseley" wrote:

Surely you just need:-
=IF(AND(A10,B10,C10),VLOOKUP(etc),"")

--
Alan Moseley IT Consultancy
http://www.amitc.co.uk

If I have solved your problem, please click Yes below. Thanks.


"Len" wrote:

Mike H

Thank you for your reply. However it returns the VLOOKUP when one of the
cells is zero.

Re-reading my original note I may have caused confusion so I will try again:

Each of the cells must be greater than 0% before I pull through the VLOOKUP.

A1 B1 C1
0% 5% 7% False no VLOOKUP
3% 5% 7% True perform VLOOKUP

Hope this helps you?

Thanks in advance


--
Len


"Mike H" wrote:

Len,

use MIN

=IF(MIN(A1:A3)0,"do this lookup","Do something else")

Mike

"Len" wrote:

I have a spreadsheet which references 8 others and has data loaded from
another system.

I am trying to get the final part of the worksheet to check the three fields
(which are IF/VLOOKUPS) are ALL greater than 0%.

If they are then the function is to do one final VLOOKUP to return another %.

I have no problems with using IF or VLOOKUP and I have tried AND which
always produces a TRUE response even if one or two of the cells are empty or
zero. I can not see how LOOKUP would work and I would need more that 7 IF
statements trying that route.

Your help would be appreciated as this will save one person manually
calculating figures for over 1/2 day in HR.

Thanks in advance


--
Len

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 75
Default How to check all three cells are greater than 0% and then look

Oh yes, I see what you mean. What about:-
=IF(AND(MIN(A1:C1)0,NOT(ISBLANK(A1)),NOT(ISBLANK( B1)),NOT(ISBLANK(C1))),"Yes","No")

--
Alan Moseley IT Consultancy
http://www.amitc.co.uk

If I have solved your problem, please click Yes below. Thanks.


"Len" wrote:

Alan/Mike

Thank you for your help but I had tried both of your suggestions and it
still picks up the VLOOKUP even if one or two cells are blank or Zero.

Could it be the Excel settings?
--
Len


"Alan Moseley" wrote:

Surely you just need:-
=IF(AND(A10,B10,C10),VLOOKUP(etc),"")

--
Alan Moseley IT Consultancy
http://www.amitc.co.uk

If I have solved your problem, please click Yes below. Thanks.


"Len" wrote:

Mike H

Thank you for your reply. However it returns the VLOOKUP when one of the
cells is zero.

Re-reading my original note I may have caused confusion so I will try again:

Each of the cells must be greater than 0% before I pull through the VLOOKUP.

A1 B1 C1
0% 5% 7% False no VLOOKUP
3% 5% 7% True perform VLOOKUP

Hope this helps you?

Thanks in advance


--
Len


"Mike H" wrote:

Len,

use MIN

=IF(MIN(A1:A3)0,"do this lookup","Do something else")

Mike

"Len" wrote:

I have a spreadsheet which references 8 others and has data loaded from
another system.

I am trying to get the final part of the worksheet to check the three fields
(which are IF/VLOOKUPS) are ALL greater than 0%.

If they are then the function is to do one final VLOOKUP to return another %.

I have no problems with using IF or VLOOKUP and I have tried AND which
always produces a TRUE response even if one or two of the cells are empty or
zero. I can not see how LOOKUP would work and I would need more that 7 IF
statements trying that route.

Your help would be appreciated as this will save one person manually
calculating figures for over 1/2 day in HR.

Thanks in advance


--
Len

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
len len is offline
external usenet poster
 
Posts: 53
Default How to check all three cells are greater than 0% and then look

Mike

Thank you for your help but I had tried your suggestion and it
still picks up the VLOOKUP even if one or two cells are blank or Zero.

Could it be the Excel settings?
--

--
Len


"Mike H" wrote:

len,

That's what my formula did. here it is again with the ranges corrected.

=IF(MIN(A1:C1)0,"do this lookup","Don't do lookup")

Mike

"Len" wrote:

Mike H

Thank you for your reply. However it returns the VLOOKUP when one of the
cells is zero.

Re-reading my original note I may have caused confusion so I will try again:

Each of the cells must be greater than 0% before I pull through the VLOOKUP.

A1 B1 C1
0% 5% 7% False no VLOOKUP
3% 5% 7% True perform VLOOKUP

Hope this helps you?

Thanks in advance


--
Len


"Mike H" wrote:

Len,

use MIN

=IF(MIN(A1:A3)0,"do this lookup","Do something else")

Mike

"Len" wrote:

I have a spreadsheet which references 8 others and has data loaded from
another system.

I am trying to get the final part of the worksheet to check the three fields
(which are IF/VLOOKUPS) are ALL greater than 0%.

If they are then the function is to do one final VLOOKUP to return another %.

I have no problems with using IF or VLOOKUP and I have tried AND which
always produces a TRUE response even if one or two of the cells are empty or
zero. I can not see how LOOKUP would work and I would need more that 7 IF
statements trying that route.

Your help would be appreciated as this will save one person manually
calculating figures for over 1/2 day in HR.

Thanks in advance


--
Len

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
Vlookup match greater than lookup value papio5949 Excel Worksheet Functions 4 August 20th 07 12:46 AM
Check if 2 cells match on another sheet then lookup value sarahmarsden Excel Worksheet Functions 1 October 20th 06 12:19 PM
Lookup "greater than or equal to" in lookup array icemouse New Users to Excel 3 February 16th 06 10:07 PM
lookup finding the next value that is GREATER Tim Excel Worksheet Functions 2 September 4th 05 05:27 PM
vlookup - finding the next value that is GREATER than the lookup value? Harold Good Excel Worksheet Functions 6 August 10th 05 10:32 PM


All times are GMT +1. The time now is 10:31 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"