LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Using multiple IF function

I am trying to create a survey result sheet in which there are 2 cells
Cell 1 : Input - Any number as described below
Cell 2 : Output : Gives out value of 1,2 or 3 in accordance with
input.
Less than 2 years old : 1 pt
2yrs 1 month to 5 years : 2 pts
Greater than 5 years 1 month : 3 pts


If the input cell is A1, one way is to put this in the output cell:
=(A15)+(A12)+1

If you insist on using "IF" another way is:
=IF(A15,3,IF(A12,2,1))

As others have noticed, the conditions in the original post have one-month
gaps (after 2 yrs an after 5 yrs). The above formulas assume that the gaps
really weren't intended. If that's wrong, modify accordingly.
 
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
multiple function is it even possible Kris M Excel Worksheet Functions 7 November 22nd 08 09:57 PM
Multiple IF function (maybe OR) mpenkala Excel Worksheet Functions 5 January 31st 08 02:22 PM
Multiple IF Function Roberto Excel Worksheet Functions 4 March 9th 07 08:20 PM
Multiple results from multiple criteria using IF function David Platt Excel Discussion (Misc queries) 2 January 15th 07 10:19 AM
Multiple Sheet, Multiple Criteria Look-Up Function Help Dan Oakes Excel Worksheet Functions 5 December 29th 06 01:37 PM


All times are GMT +1. The time now is 04:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"