#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If Formula Help

I am trying to create a formula that will help pull information from column a
(number of days) and return the data in colum b if it falls within certain
numbers parameters if true or enter a zero if false. Colum a numbers range
from -60 to 500. This is for an aged trial balance. I can't figure how to get
my if formula to take in a group of numbers such as 1-30. I have tried 1:30.
HELP~~~
Here is the formula that I have tried:

=IF(A2=1:30,B2,0)


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default If Formula Help

Here's my best guess:

=IF(AND(A2=1,A2<=30),B2,0)

--
Biff
Microsoft Excel MVP


"efuture" wrote in message
...
I am trying to create a formula that will help pull information from column
a
(number of days) and return the data in colum b if it falls within certain
numbers parameters if true or enter a zero if false. Colum a numbers range
from -60 to 500. This is for an aged trial balance. I can't figure how to
get
my if formula to take in a group of numbers such as 1-30. I have tried
1:30.
HELP~~~
Here is the formula that I have tried:

=IF(A2=1:30,B2,0)




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default If Formula Help

Do you mean

=IF(AND(A2=1,A2<=30),A2,0)
--
If this post helps click Yes
---------------
Jacob Skaria


"efuture" wrote:

I am trying to create a formula that will help pull information from column a
(number of days) and return the data in colum b if it falls within certain
numbers parameters if true or enter a zero if false. Colum a numbers range
from -60 to 500. This is for an aged trial balance. I can't figure how to get
my if formula to take in a group of numbers such as 1-30. I have tried 1:30.
HELP~~~
Here is the formula that I have tried:

=IF(A2=1:30,B2,0)


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If Formula Help

thank you very much!!! It worked perfectly!!!
My best...

"T. Valko" wrote:

Here's my best guess:

=IF(AND(A2=1,A2<=30),B2,0)

--
Biff
Microsoft Excel MVP


"efuture" wrote in message
...
I am trying to create a formula that will help pull information from column
a
(number of days) and return the data in colum b if it falls within certain
numbers parameters if true or enter a zero if false. Colum a numbers range
from -60 to 500. This is for an aged trial balance. I can't figure how to
get
my if formula to take in a group of numbers such as 1-30. I have tried
1:30.
HELP~~~
Here is the formula that I have tried:

=IF(A2=1:30,B2,0)





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default If Formula Help

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"efuture" wrote in message
...
thank you very much!!! It worked perfectly!!!
My best...

"T. Valko" wrote:

Here's my best guess:

=IF(AND(A2=1,A2<=30),B2,0)

--
Biff
Microsoft Excel MVP


"efuture" wrote in message
...
I am trying to create a formula that will help pull information from
column
a
(number of days) and return the data in colum b if it falls within
certain
numbers parameters if true or enter a zero if false. Colum a numbers
range
from -60 to 500. This is for an aged trial balance. I can't figure how
to
get
my if formula to take in a group of numbers such as 1-30. I have tried
1:30.
HELP~~~
Here is the formula that I have tried:

=IF(A2=1:30,B2,0)







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



All times are GMT +1. The time now is 04:11 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"