ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help with if funktion (https://www.excelbanter.com/excel-worksheet-functions/159281-help-if-funktion.html)

Tim

Help with if funktion
 
Can I use if funktion when the logical test is not value?

I have conditionally formated the cells C7:J48 such that if some conditions
apply then one (only one) of those cells will turn yellow.
Now, I want that another cell H63 to pick up the value of yellow cell.
Can I do this whith if function?
Or any other possibilities?

TIA

Tim

David Biddulph[_2_]

Help with if funktion
 
Use the conditions you specified for the conditional formatting.
--
David Biddulph

"Tim" wrote in message
...
Can I use if funktion when the logical test is not value?

I have conditionally formated the cells C7:J48 such that if some
conditions
apply then one (only one) of those cells will turn yellow.
Now, I want that another cell H63 to pick up the value of yellow cell.
Can I do this whith if function?
Or any other possibilities?

TIA

Tim




Sandy Mann

Help with if funktion
 
Us the IF() function to check for the same conditions that turned the cell
yellow.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Tim" wrote in message
...
Can I use if funktion when the logical test is not value?

I have conditionally formated the cells C7:J48 such that if some
conditions
apply then one (only one) of those cells will turn yellow.
Now, I want that another cell H63 to pick up the value of yellow cell.
Can I do this whith if function?
Or any other possibilities?

TIA

Tim




Tim

Help with if funktion
 
The cells C7:J48 are divided in 8 columns and the cells in these colums have
not the same conditions. (Have not been equally conditionally formated) All
these conditions cannot be put in a simple "if" formula.

I wanted initially to use match() funktion but I am not very familiar with
it, so I was thinking it would be easier if I can use if() funktion with
logical tests such cell color or any other format element.


"Sandy Mann" wrote:

Us the IF() function to check for the same conditions that turned the cell
yellow.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Tim" wrote in message
...
Can I use if funktion when the logical test is not value?

I have conditionally formated the cells C7:J48 such that if some
conditions
apply then one (only one) of those cells will turn yellow.
Now, I want that another cell H63 to pick up the value of yellow cell.
Can I do this whith if function?
Or any other possibilities?

TIA

Tim





Pete_UK

Help with if funktion
 
You said in your first post that only one cell will turn yellow, so
the CF formulae (even if different in different cells) must have some
implied dependency, eg one might be looking for a number greater than
100, another might be looking for a number between 80 and 100 etc. If
you can describe what the conditions are on those 8 cells, then I'm
sure someone will be able to put a formula together for you.

Pete

On Sep 21, 11:40 pm, Tim wrote:
The cells C7:J48 are divided in 8 columns and the cells in these colums have
not the same conditions. (Have not been equally conditionally formated) All
these conditions cannot be put in a simple "if" formula.

I wanted initially to use match() funktion but I am not very familiar with
it, so I was thinking it would be easier if I can use if() funktion with
logical tests such cell color or any other format element.



"Sandy Mann" wrote:
Us the IF() function to check for the same conditions that turned the cell
yellow.


--
HTH


Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings



Replace @mailinator.com with @tiscali.co.uk


"Tim" wrote in message
...
Can I use if funktion when the logical test is not value?


I have conditionally formated the cells C7:J48 such that if some
conditions
apply then one (only one) of those cells will turn yellow.
Now, I want that another cell H63 to pick up the value of yellow cell.
Can I do this whith if function?
Or any other possibilities?


TIA


Tim- Hide quoted text -


- Show quoted text -




Sandy Mann

Help with if funktion
 
Hi Tim,

Assuming that the yellow cell can be any of the cells in C7:J48, the
simplest way of doing it would be to have a table with the formulas that the
conditional formats use. This will return a table of 327 FALSE and one
TRUE.

Say the table is in L7:S48 , in T7 enter the formula:
=COUNTIF(L7:S7,TRUE)
and copy down to T48

Insert a new Row 6 and enter in the new C6 the formula:
=COUNTIF(L7:L48,TRUE)
and copy along to J6
This will return 7 0's and one 1

Now hide Row 6 and Columns L:T

In the cell that you want your return in enter the formula:
=IF(SUM(C6:J6)=0,"",HLOOKUP(1,C6:J48,MATCH(1,T7:T4 8,FALSE)+1,FALSE))


--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Tim" wrote in message
...
The cells C7:J48 are divided in 8 columns and the cells in these colums
have
not the same conditions. (Have not been equally conditionally formated)
All
these conditions cannot be put in a simple "if" formula.

I wanted initially to use match() funktion but I am not very familiar with
it, so I was thinking it would be easier if I can use if() funktion with
logical tests such cell color or any other format element.


"Sandy Mann" wrote:

Us the IF() function to check for the same conditions that turned the
cell
yellow.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Tim" wrote in message
...
Can I use if funktion when the logical test is not value?

I have conditionally formated the cells C7:J48 such that if some
conditions
apply then one (only one) of those cells will turn yellow.
Now, I want that another cell H63 to pick up the value of yellow cell.
Can I do this whith if function?
Or any other possibilities?

TIA

Tim









All times are GMT +1. The time now is 01:08 PM.

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