#1   Report Post  
Todd Nelson
 
Posts: n/a
Default IF Formula

Does anyone know the formula to pull information that corresponds to the
month referred to. I am doing a review spreadsheet and need the numbers to
autofill for the corresponding month. Example. If A1=January, A2, If feb,
b2. I am stuck on this and any help would greatly be appreciated
  #2   Report Post  
paul
 
Posts: n/a
Default

=IF(A1="january",A2,"not")
this will display A2 if A1 is text January,but of course you can only nest a
few ifs.Are you really only wanting to display the contents of one cell for
each month?
--
paul
remove nospam for email addy!



"Todd Nelson" wrote:

Does anyone know the formula to pull information that corresponds to the
month referred to. I am doing a review spreadsheet and need the numbers to
autofill for the corresponding month. Example. If A1=January, A2, If feb,
b2. I am stuck on this and any help would greatly be appreciated

  #3   Report Post  
Todd Nelson
 
Posts: n/a
Default

Is there a way to pull any of the months. If(A1=january,a2),IF A1=february,
b2), etc for the year??

"paul" wrote:

=IF(A1="january",A2,"not")
this will display A2 if A1 is text January,but of course you can only nest a
few ifs.Are you really only wanting to display the contents of one cell for
each month?
--
paul
remove nospam for email addy!



"Todd Nelson" wrote:

Does anyone know the formula to pull information that corresponds to the
month referred to. I am doing a review spreadsheet and need the numbers to
autofill for the corresponding month. Example. If A1=January, A2, If feb,
b2. I am stuck on this and any help would greatly be appreciated

  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

If you want what's in cells A2:L2 depending on a text value in A1?

=OFFSET($A$2,,MATCH(A1,{"January";"February";"Marc h";"April";"May";"June";"July";"August";"September ";"October";"November";"December"},0)-1)

if you just want the month's index number

=MATCH(A1,{"January";"February";"March";"April";"M ay";"June";"July";"August";"September";"October";" November";"December"},0)

or

=MONTH(--(A1& "1, 2005"))

--
Regards,

Peo Sjoblom

(No private emails please)


"Todd Nelson" wrote in message
...
Is there a way to pull any of the months. If(A1=january,a2),IF
A1=february,
b2), etc for the year??

"paul" wrote:

=IF(A1="january",A2,"not")
this will display A2 if A1 is text January,but of course you can only
nest a
few ifs.Are you really only wanting to display the contents of one cell
for
each month?
--
paul
remove nospam for email addy!



"Todd Nelson" wrote:

Does anyone know the formula to pull information that corresponds to
the
month referred to. I am doing a review spreadsheet and need the
numbers to
autofill for the corresponding month. Example. If A1=January, A2, If
feb,
b2. I am stuck on this and any help would greatly be appreciated


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
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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