ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help with formula (https://www.excelbanter.com/excel-discussion-misc-queries/183096-help-formula.html)

CB

Help with formula
 
I have the following inserted as a condition for formatting.
=AND(RIGHT($A1,5)="Total",F1=100)
How can I modify this to format if the value is between 100 and 105?
Thanks,
CB

Don Guillett

Help with formula
 

Did you try inserting another parameter?
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"CB" wrote in message
...
I have the following inserted as a condition for formatting.
=AND(RIGHT($A1,5)="Total",F1=100)
How can I modify this to format if the value is between 100 and 105?
Thanks,
CB



FSt1

Help with formula
 
hi
try this.....
=AND(RIGHT($A1,5)="Total",AND(F1100,F1<105))
if you want to include 100 and 105 then
=AND(RIGHT($A1,5)="Total",AND(F199,F1<106))

reguards
FSt1

"CB" wrote:

I have the following inserted as a condition for formatting.
=AND(RIGHT($A1,5)="Total",F1=100)
How can I modify this to format if the value is between 100 and 105?
Thanks,
CB


CB

Help with formula
 
FSt1.
This works perfect. Thanks so Much.....
CB

"FSt1" wrote:

hi
try this.....
=AND(RIGHT($A1,5)="Total",AND(F1100,F1<105))
if you want to include 100 and 105 then
=AND(RIGHT($A1,5)="Total",AND(F199,F1<106))

reguards
FSt1

"CB" wrote:

I have the following inserted as a condition for formatting.
=AND(RIGHT($A1,5)="Total",F1=100)
How can I modify this to format if the value is between 100 and 105?
Thanks,
CB


David Biddulph[_2_]

Help with formula
 
You don't need the second IF.
=AND(RIGHT($A1,5)="Total",F1100,F1<105) or
=AND(RIGHT($A1,5)="Total",F1=100,F1<=105)

[Note that 99 is not the same as =100, similarly <106 is not the same as
<=105.]
--
David Biddulph

"FSt1" wrote in message
...
hi
try this.....
=AND(RIGHT($A1,5)="Total",AND(F1100,F1<105))
if you want to include 100 and 105 then
=AND(RIGHT($A1,5)="Total",AND(F199,F1<106))

reguards
FSt1

"CB" wrote:

I have the following inserted as a condition for formatting.
=AND(RIGHT($A1,5)="Total",F1=100)
How can I modify this to format if the value is between 100 and 105?
Thanks,
CB





All times are GMT +1. The time now is 03:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com