Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default How to to put together this function below

How put together this formula to determine if my blood pressure is in normal
range:

If =<120 return "Normal"
If between 121 and 139 return "Pre-hypertension"
If between 140 and 159 return "Stage One"
If greater than or equal to 160 "Stage Two"

Thanks in advance.
--
Pat Miller
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default How to to put together this function below

One way:

=LOOKUP(A1,{0,"Normal";121,"Pre-hypertension"; 140,"Stage One"; 160,
"Stage 2"})

In article ,
Pat Miller wrote:

How put together this formula to determine if my blood pressure is in normal
range:

If =<120 return "Normal"
If between 121 and 139 return "Pre-hypertension"
If between 140 and 159 return "Stage One"
If greater than or equal to 160 "Stage Two"

Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default How to to put together this function below

=IF(A1<121,"Normal",IF(A1<140,"Pre-hypertension",IF(A1<160,"Stage One","Stage
Two")))


"Pat Miller" wrote:

How put together this formula to determine if my blood pressure is in normal
range:

If =<120 return "Normal"
If between 121 and 139 return "Pre-hypertension"
If between 140 and 159 return "Stage One"
If greater than or equal to 160 "Stage Two"

Thanks in advance.
--
Pat Miller

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
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
I want to use Vlookup function and AND function in a single formu. prakash Excel Worksheet Functions 3 January 25th 05 07:11 AM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


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