Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Using a word in logic functions (instead of a number)

I'm working on MSExcel 2007. I was wondering if there was a way to reference
a word in a function. Specifically, i need a logic function along the
following lines:

If cell A2 says "No" (is true) then value equals 2 times cell B2, if not,
value equals B5




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Using a word in logic functions (instead of a number)

hi,

=IF(A2="No",B2*2,B5)

Mike

"hillan2" wrote:

I'm working on MSExcel 2007. I was wondering if there was a way to reference
a word in a function. Specifically, i need a logic function along the
following lines:

If cell A2 says "No" (is true) then value equals 2 times cell B2, if not,
value equals B5




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Using a word in logic functions (instead of a number)


=IF(A2="No",B2*2,B5)


Gord Dibben MS Excel MVP

On Wed, 14 Jan 2009 13:21:00 -0800, hillan2
wrote:

I'm working on MSExcel 2007. I was wondering if there was a way to reference
a word in a function. Specifically, i need a logic function along the
following lines:

If cell A2 says "No" (is true) then value equals 2 times cell B2, if not,
value equals B5




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
How do I set two different (AND & OR) logic functions within one Short Term Trader Excel Discussion (Misc queries) 1 January 19th 07 08:37 PM
How do I set two different (AND & OR) logic functions within one Teethless mama Excel Discussion (Misc queries) 0 January 19th 07 08:22 PM
How do I set two different (AND & OR) logic functions within one John Bundy Excel Discussion (Misc queries) 0 January 19th 07 08:13 PM
logic (IF) functions elaine Excel Worksheet Functions 4 June 23rd 06 02:30 AM
Need help setting up a formula using perhaps the logic functions . drlisa0318 Excel Worksheet Functions 1 February 11th 05 10:17 PM


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