Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KReese
 
Posts: n/a
Default If statement using multi columns

I'm in column H and I first want to check the value in column A to determine
if it is over or under 80%
Example:
If the value in column A is 80% or greater, I don't want anything to show up
in column H.
If the value in column A is less than 80% AND column B is <= 1%, show ".5%"
in column H.
If the value in column A is less than 80% AND column B is between 1.1% and
2%, show "1%" in column H.
If the value in column A is less than 80% AND column B is between 2.1% and
3%, show "2%" in column H.
If the value in column A is less than 80% AND column B is = 3.1%, show "3%"
in column H.

Can someone help me with this one? Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default If statement using multi columns

Hi KReese,

try on the H column this formula:

=if(a7=80%,"",if(b7<=1%,0.5%,if(and((b7=1.1%),(b 7<=2%)),if(and((b7=2.1%),(b7<=3%)),if((b7=3,1%), 4%)))))

hope it helps
Regards from Brazil
Marcelo



"KReese" escreveu:

I'm in column H and I first want to check the value in column A to determine
if it is over or under 80%
Example:
If the value in column A is 80% or greater, I don't want anything to show up
in column H.
If the value in column A is less than 80% AND column B is <= 1%, show ".5%"
in column H.
If the value in column A is less than 80% AND column B is between 1.1% and
2%, show "1%" in column H.
If the value in column A is less than 80% AND column B is between 2.1% and
3%, show "2%" in column H.
If the value in column A is less than 80% AND column B is = 3.1%, show "3%"
in column H.

Can someone help me with this one? Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default If statement using multi columns

Hi again,

I've been noticed that if on the column B you have a value between 1% and
1,1% as 1,05% the formula will return FALSE, so it prudent to update it as:

=if(a7=80%,"",if(b7<=1.09%,0.5%,if(and((b7=1.1%) ,(b7<=2.09%)),if(and((b7=2.1%),(b7<=3,09%)),if((b 7=3,1%),4%)))))

Regards, your feedback will be appreciate
Marcelo


"Marcelo" escreveu:

Hi KReese,

try on the H column this formula:

=if(a7=80%,"",if(b7<=1%,0.5%,if(and((b7=1.1%),(b 7<=2%)),if(and((b7=2.1%),(b7<=3%)),if((b7=3,1%), 4%)))))

hope it helps
Regards from Brazil
Marcelo



"KReese" escreveu:

I'm in column H and I first want to check the value in column A to determine
if it is over or under 80%
Example:
If the value in column A is 80% or greater, I don't want anything to show up
in column H.
If the value in column A is less than 80% AND column B is <= 1%, show ".5%"
in column H.
If the value in column A is less than 80% AND column B is between 1.1% and
2%, show "1%" in column H.
If the value in column A is less than 80% AND column B is between 2.1% and
3%, show "2%" in column H.
If the value in column A is less than 80% AND column B is = 3.1%, show "3%"
in column H.

Can someone help me with this one? Thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KReese
 
Posts: n/a
Default If statement using multi columns

Thanks for the help Marcelo. I'm closer to the result but there are still a
few missing elements.

The result should either be null (if column A is over 80%) - or be one of
four percents (.5%, 1%, 2%, 3%) based on A being under 80% AND B being
between a certain range. (0 - 1%, 1.1% - 2%, 2.1% - 3%, over 3%)

Using the existing if statement:
A) The only thing that ever appears is .005 or False. (I do not see 1%, 2%
and 3% in the if statement)

B) Any value under 1.09% (including negatives) shows .005. Can you show me
how to make this a range between 0% and 1.09%, rather than just <1.09% so
that negative are removed from the equation?


Hope I have clarified this a little better. Thanks in advance for any
additional help.


"Marcelo" wrote:

Hi again,

I've been noticed that if on the column B you have a value between 1% and
1,1% as 1,05% the formula will return FALSE, so it prudent to update it as:

=if(a7=80%,"",if(b7<=1.09%,0.5%,if(and((b7=1.1%) ,(b7<=2.09%)),if(and((b7=2.1%),(b7<=3,09%)),if((b 7=3,1%),4%)))))

Regards, your feedback will be appreciate
Marcelo


"Marcelo" escreveu:

Hi KReese,

try on the H column this formula:

=if(a7=80%,"",if(b7<=1%,0.5%,if(and((b7=1.1%),(b 7<=2%)),if(and((b7=2.1%),(b7<=3%)),if((b7=3,1%), 4%)))))

hope it helps
Regards from Brazil
Marcelo



"KReese" escreveu:

I'm in column H and I first want to check the value in column A to determine
if it is over or under 80%
Example:
If the value in column A is 80% or greater, I don't want anything to show up
in column H.
If the value in column A is less than 80% AND column B is <= 1%, show ".5%"
in column H.
If the value in column A is less than 80% AND column B is between 1.1% and
2%, show "1%" in column H.
If the value in column A is less than 80% AND column B is between 2.1% and
3%, show "2%" in column H.
If the value in column A is less than 80% AND column B is = 3.1%, show "3%"
in column H.

Can someone help me with this one? Thanks in advance

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 swap rows and columns? [email protected] Excel Discussion (Misc queries) 5 September 21st 05 08:07 AM
Help with grouping columns couriced New Users to Excel 5 September 2nd 05 05:07 PM
Hiding columns and custom views problem Bettergains Excel Discussion (Misc queries) 2 April 12th 05 11:48 PM
Removing Near-Duplicate Rows, Leaving Those w/Most Data in Specific Columns foofoo Excel Discussion (Misc queries) 1 April 2nd 05 12:02 AM
Counting the Contents of Two Columns Molochi Excel Discussion (Misc queries) 6 December 22nd 04 08:13 PM


All times are GMT +1. The time now is 08:43 AM.

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

About Us

"It's about Microsoft Excel"