Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 7
Default If then formula with multiple cells

Hi there,

I have columns D and E either containing numbers of are blank. I want a formula in cell F to output the following:
a) if both columns D and E contain a number, I want it to output "both paid"
b) if column D contains a number but E does not, I want it to output "conference pmt pending"
c) if column E contains a number and D does not, I want it to output "membership pmt pending"

I have no idea how to enter an IF formula with that many variables. Thoughts?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default If then formula with multiple cells

hi,

Am Fri, 13 Sep 2013 00:59:57 +0100 schrieb Ada33:

I have columns D and E either containing numbers of are blank. I want a
formula in cell F to output the following:
a) if both columns D and E contain a number, I want it to output "both
paid"
b) if column D contains a number but E does not, I want it to output
"conference pmt pending"
c) if column E contains a number and D does not, I want it to output
"membership pmt pending"


try:
=IF(COUNT(D1:E1)=2,"both paid",IF(ISNUMBER(D1),"conference pmt pending","membership pmt pending"))


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #3   Report Post  
Junior Member
 
Posts: 7
Default

You are a genius sir! Thank-you! :)

Quote:
Originally Posted by Claus Busch View Post
hi,

Am Fri, 13 Sep 2013 00:59:57 +0100 schrieb Ada33:

I have columns D and E either containing numbers of are blank. I want a
formula in cell F to output the following:
a) if both columns D and E contain a number, I want it to output "both
paid"
b) if column D contains a number but E does not, I want it to output
"conference pmt pending"
c) if column E contains a number and D does not, I want it to output
"membership pmt pending"


try:
=IF(COUNT(D1:E1)=2,"both paid",IF(ISNUMBER(D1),"conference pmt pending","membership pmt pending"))


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
Formula for multiple cells spezticle Excel Worksheet Functions 4 July 26th 08 03:28 PM
Formula for multiple cells spezticle Excel Worksheet Functions 0 July 26th 08 06:09 AM
Using one cells formula in multiple other cells Eric Excel Discussion (Misc queries) 1 June 18th 08 12:15 AM
changing a formula in multiple cells casdaq Excel Worksheet Functions 2 April 30th 07 11:54 PM
Look up formula, multiple cells pgarcia Excel Discussion (Misc queries) 8 January 30th 07 10:28 PM


All times are GMT +1. The time now is 08:33 AM.

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"