LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default I need to do a calculation based on the values in two cells

Hi

I need help with Excel 2007

This is the sample data:

A1 B1 C1 D1
100 0 1
400 1 1
500 1 0
200 0 0

Scenario 1: If B1=0 And C1=1 then calculate D1 as a percentage of A1
Scenario 2: If B1=1 and C1=1 then D1=0
Scenario 3: If B1=1 And C1=0 then D1=0
Scenario 3: If both B1 and C1=0 then D1=0

NB: B AND C ARE ALWAYS EITHER 1 OR 0

How do i build the function to perform these calculations in column D
dependant on the values in B and C?
 
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
Sum the values of cells based on fontcolor [email protected] Excel Worksheet Functions 1 March 28th 08 02:51 PM
Calculation based on Y or N Values Malcolm McMaster[_2_] Excel Discussion (Misc queries) 2 October 17th 07 07:16 AM
Sumif based on different values in different cells stevec Excel Discussion (Misc queries) 2 November 2nd 06 04:03 PM
conditional formating cells i Excel based on other cells values Elias Petursson Excel Worksheet Functions 3 May 23rd 06 06:45 PM
Populating cells based on calculation Chris Excel Worksheet Functions 0 November 8th 04 01:22 PM


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