ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula questions (https://www.excelbanter.com/excel-discussion-misc-queries/42520-formula-questions.html)

Bob L

Formula questions
 
I am trying to write a formula that checks the number in cell B4 and if it is
between 1 and 52 then "A" would be placed in cell B6 but if the number was
greater thatn 52 but less than 99 then "B" would be placed in cell B6 ect.

Where do I start. What fomula should I use.

Thank you for your help

Bob Phillips

In B6: =IF(AND(B41,B4<=52),"A"),B4<99,"B",""))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob L" wrote in message
...
I am trying to write a formula that checks the number in cell B4 and if it

is
between 1 and 52 then "A" would be placed in cell B6 but if the number was
greater thatn 52 but less than 99 then "B" would be placed in cell B6 ect.

Where do I start. What fomula should I use.

Thank you for your help




Bob L

Thank you Bob for the quick answer. That is exactly what I was looking for.

"Bob Phillips" wrote:

In B6: =IF(AND(B41,B4<=52),"A"),B4<99,"B",""))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob L" wrote in message
...
I am trying to write a formula that checks the number in cell B4 and if it

is
between 1 and 52 then "A" would be placed in cell B6 but if the number was
greater thatn 52 but less than 99 then "B" would be placed in cell B6 ect.

Where do I start. What fomula should I use.

Thank you for your help





Bob L

Bob,

I get an error when using this formula. Could you please check, as I it's
above my head.

"Bob Phillips" wrote:

In B6: =IF(AND(B41,B4<=52),"A"),B4<99,"B",""))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob L" wrote in message
...
I am trying to write a formula that checks the number in cell B4 and if it

is
between 1 and 52 then "A" would be placed in cell B6 but if the number was
greater thatn 52 but less than 99 then "B" would be placed in cell B6 ect.

Where do I start. What fomula should I use.

Thank you for your help





Bob Phillips

Sorry, my error

=IF(AND(B41,B4<=52),"A",IF(B4<99,"B",""))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob L" wrote in message
...
Bob,

I get an error when using this formula. Could you please check, as I it's
above my head.

"Bob Phillips" wrote:

In B6: =IF(AND(B41,B4<=52),"A"),B4<99,"B",""))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob L" wrote in message
...
I am trying to write a formula that checks the number in cell B4 and

if it
is
between 1 and 52 then "A" would be placed in cell B6 but if the number

was
greater thatn 52 but less than 99 then "B" would be placed in cell B6

ect.

Where do I start. What fomula should I use.

Thank you for your help







Bob L

Thank you again

"Bob Phillips" wrote:

Sorry, my error

=IF(AND(B41,B4<=52),"A",IF(B4<99,"B",""))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob L" wrote in message
...
Bob,

I get an error when using this formula. Could you please check, as I it's
above my head.

"Bob Phillips" wrote:

In B6: =IF(AND(B41,B4<=52),"A"),B4<99,"B",""))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob L" wrote in message
...
I am trying to write a formula that checks the number in cell B4 and

if it
is
between 1 and 52 then "A" would be placed in cell B6 but if the number

was
greater thatn 52 but less than 99 then "B" would be placed in cell B6

ect.

Where do I start. What fomula should I use.

Thank you for your help








All times are GMT +1. The time now is 12:10 AM.

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