Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default conditional formulas

hi, would it be possible to have a cell that changes formulas dependin
on the result of a certain cell (without using Validationlist).

eg.

if Cell 1 = 1 Cell 2 would apply the formula A1+B2
and if Cell 1 = 2 Cell 2 would apply the formula E1+B2+C3


thanks a bunc

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default conditional formulas

Assuming "Cell 1" is A1
=IF(A1=1,A1+B2,IF(A1=2,E1+B2+C3,""))

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"karlo " wrote in message
...
hi, would it be possible to have a cell that changes formulas depending
on the result of a certain cell (without using Validationlist).

eg.

if Cell 1 = 1 Cell 2 would apply the formula A1+B2
and if Cell 1 = 2 Cell 2 would apply the formula E1+B2+C3


thanks a bunch


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default conditional formulas

Hi
Try this

=IF(A1=1,A1+B2,IF(A1=2,E1+B2+C3,"not 1 one or 2")

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default conditional formulas

thanks a lot!!:) :) :) :) :) :) :) now for my other problems:

--
Message posted from http://www.ExcelForum.com

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
conditional formulas Danno[_2_] Excel Discussion (Misc queries) 5 October 16th 08 09:31 PM
Conditional Formulas Lee Excel Discussion (Misc queries) 0 March 10th 08 06:43 PM
Conditional Formulas Craig Koon Excel Worksheet Functions 0 August 24th 06 11:36 PM
conditional formulas Beth104 Excel Worksheet Functions 3 March 8th 06 03:09 PM
How do I set up conditional formulas craig Excel Worksheet Functions 1 February 4th 06 09:45 PM


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