LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default setting column value based on if statement

hello,
Here is an example i've yet to figure out. in my cell I am looking at
if cell A16= "", if it is true then D16 ="", if it is false then
If(AND(B16=1, C16=1), A16*8, A16*12)
So, my statement would look like the following:
=IF(A16="","",IF(AND(B16="1",C16=1),A16*8,A16*12))
But what i can't figure out is how to set to set the value of a different
cell. For example...
With the above statement where B16 =1 and C16=1 the value of D16 would be
A16*8. When that condition is true I want to be able to set the value of
D15 to A16*4...
Any Idea on how to do that?
Brian


 
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
if then statement based on another column Ann Excel Worksheet Functions 6 May 28th 08 09:05 PM
Setting up an If-Then Statement that will pull from a valdiated li govols865 Excel Worksheet Functions 2 January 12th 07 10:48 PM
Setting up columns based on a date MIchel Khennafi Excel Worksheet Functions 1 April 25th 06 10:53 PM
I need assistance setting up a "IF" statement mmr Excel Worksheet Functions 3 September 19th 05 03:05 PM
Setting up a statement cosmo investments Setting up and Configuration of Excel 0 May 11th 05 03:26 AM


All times are GMT +1. The time now is 11:35 PM.

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"