ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   writing an IF/AND formula (https://www.excelbanter.com/excel-worksheet-functions/245580-writing-if-formula.html)

Jill_

writing an IF/AND formula
 
Hi I am trying to write a formula that has a few criteria and results.

I need a formula in cell K7 (2005): if cell D6 = "Off" and E6 = "2005" to
return a value of "0", but if cell D6 = "On" and E6 = "2005" the value from
the cell K7 (one other tab in workbook).

To complicate, in cell in cell J7 (2004): if cell D6 = "Off" and E6 =
"2005" to return the value from the cell J7 (one other tab in workbook), but
if cell D6 = "On" and E6 = "2005" the value from the cell J7 (one other tab
in workbook).

A D E J K L
Row 6 500105 OFF/ON 2005 2004 2005 2006
Row 7 formula formula formula


ryguy7272

writing an IF/AND formula
 
I don't have time to work this out, but this is how the If/And works in
Excel-world (the logic works a little different in Access-world):

http://www.experiglot.com/2006/12/11...th-and-or-not/

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Jill_" wrote:

Hi I am trying to write a formula that has a few criteria and results.

I need a formula in cell K7 (2005): if cell D6 = "Off" and E6 = "2005" to
return a value of "0", but if cell D6 = "On" and E6 = "2005" the value from
the cell K7 (one other tab in workbook).

To complicate, in cell in cell J7 (2004): if cell D6 = "Off" and E6 =
"2005" to return the value from the cell J7 (one other tab in workbook), but
if cell D6 = "On" and E6 = "2005" the value from the cell J7 (one other tab
in workbook).

A D E J K L
Row 6 500105 OFF/ON 2005 2004 2005 2006
Row 7 formula formula formula



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com