#1   Report Post  
Bob L
 
Posts: n/a
Default 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
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

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



  #3   Report Post  
Bob L
 
Posts: n/a
Default

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




  #4   Report Post  
Bob L
 
Posts: n/a
Default

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




  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

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








  #6   Report Post  
Bob L
 
Posts: n/a
Default

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






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
adding row to forumla carrera Excel Discussion (Misc queries) 9 August 23rd 05 10:24 PM
dragging a formula P Bates Excel Discussion (Misc queries) 3 August 7th 05 09:37 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM


All times are GMT +1. The time now is 10:43 PM.

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"