Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jaydubs
 
Posts: n/a
Default Conditions with IF statement

Dear Excel(lent) users,

I am processing the following:

When a certain incident is logged, I want to know how many times it 'hops'
(no reason to go into details what bounces means).
I have the following columns:
Column A Date of entry
Column B Date of closure
Column C Date how many times it hops
Column D Yes/No validation field to indicated it hopped

If an incident hops I have to enter the number of hops. Now In Column D, I
want the spreadsheet to automatically fill in Yes or No. The condition is
that B should be filled and C should be 0. If that is the case D should have
no and if C is higher than 0 yes should be filled. If B is not filled,
nothing should be done.

Please be aware that I have entered a validation list on Column D, so that
whenever you press on a field in D, you get to choose either yes or no.

I came up with this: =IF(AND(B2<"";C2=0);"No";IF(C20;"Yes")) But it does
not work.

Please help me.
--
** Fool on the hill **
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme
 
Posts: n/a
Default Conditions with IF statement

Try =IF(B2<1,"",IF(C20,"Yes","No"))
But why use a validation when you are using a formula?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Jaydubs" wrote in message
...
Dear Excel(lent) users,

I am processing the following:

When a certain incident is logged, I want to know how many times it 'hops'
(no reason to go into details what bounces means).
I have the following columns:
Column A Date of entry
Column B Date of closure
Column C Date how many times it hops
Column D Yes/No validation field to indicated it hopped

If an incident hops I have to enter the number of hops. Now In Column D, I
want the spreadsheet to automatically fill in Yes or No. The condition is
that B should be filled and C should be 0. If that is the case D should
have
no and if C is higher than 0 yes should be filled. If B is not filled,
nothing should be done.

Please be aware that I have entered a validation list on Column D, so that
whenever you press on a field in D, you get to choose either yes or no.

I came up with this: =IF(AND(B2<"";C2=0);"No";IF(C20;"Yes")) But it does
not work.

Please help me.
--
** Fool on the hill **



  #3   Report Post  
Posted to microsoft.public.excel.misc
Jaydubs
 
Posts: n/a
Default Conditions with IF statement

Thanks Bernard,
Yes indeed,... excel(lent) point !! (about the validation)
Merci !!
--
** Fool on the hill **


"Bernard Liengme" wrote:

Try =IF(B2<1,"",IF(C20,"Yes","No"))
But why use a validation when you are using a formula?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Jaydubs" wrote in message
...
Dear Excel(lent) users,

I am processing the following:

When a certain incident is logged, I want to know how many times it 'hops'
(no reason to go into details what bounces means).
I have the following columns:
Column A Date of entry
Column B Date of closure
Column C Date how many times it hops
Column D Yes/No validation field to indicated it hopped

If an incident hops I have to enter the number of hops. Now In Column D, I
want the spreadsheet to automatically fill in Yes or No. The condition is
that B should be filled and C should be 0. If that is the case D should
have
no and if C is higher than 0 yes should be filled. If B is not filled,
nothing should be done.

Please be aware that I have entered a validation list on Column D, so that
whenever you press on a field in D, you get to choose either yes or no.

I came up with this: =IF(AND(B2<"";C2=0);"No";IF(C20;"Yes")) But it does
not work.

Please help me.
--
** Fool on the hill **




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
If's conditions about matching 0-0 Wai Wai ^-^ Excel Worksheet Functions 8 May 12th 06 06:27 PM
IF Statement with multiple conditions Ladypep Excel Discussion (Misc queries) 3 April 5th 06 02:44 PM
If statement using multiple conditions SCOOBYDOO Excel Worksheet Functions 1 June 6th 05 12:45 PM
COUNTIF Statement with Multiple Conditions in Different Ranges KJA Excel Worksheet Functions 2 April 26th 05 05:14 PM
Nesting If Statement with "AND", "OR" conditions Jenna Excel Worksheet Functions 3 October 30th 04 07:46 PM


All times are GMT +1. The time now is 06:59 AM.

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"