Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 208
Default Multiple Formulas

Pete...Thanx for first part.....works brill.

Now, 2nd part: written this 3 times so far to try to make sense...here goes:
my referral date could be in the past or today, as the idea is to show where
we are running at Red, Amber or Green from the date entered.

It should work as: if the date entered is up to 7 days old, we are
green....if the date is between 8 days and 14 days old we are Amber...if over
15 days Red....i suspect the answer to your question about reference date is
it would be TODAY

The Green, Amber and Red method should be updating so that as the days go
past the 7...8-14 & 15+, the cell in column G returns a TEXT value stating
the colour....i can then use a COUNTIF on sheet 2 which is collating my
stats,
taking the colour as written in text from sheet 1.

I dont think i need to count colours, just get a formula to work out that if
the date refers to a colour, the ccolour can be put into text......tried
modcolour functions etc and deffo having probs with them

I believe, Q2 will change my thinking and subsequent layout.....so Q3 will
be different if Q2 is workable

Long thread again....hope that clears it a little more

"Pete_UK" wrote:

Q2 - I don't know what you mean by:

"...so that if date entered is up to 7 days from the date entered ..."

Do you mean that you intend to put some reference date in another cell
and you want to compare with that? If so, which cell are you using for
the reference date?

Q3 - Same comments apply as above. Once we sort out what you are
doing, it's quite easy to have a multiple IF in column F which will
return the appropriate colour.

Pete

On Dec 14, 7:28 pm, Pete_UK wrote:
Q1 - COUNTIF (and SUMIF) is used where you have only one condition.
You have 2, so the way to do this is:

=SUMPRODUCT((Sheet1!A1:A100="Exeter")*(Sheet1!D1:D 100="JSA"))

Better to put those variables in cells, eg put Exeter in A2 of Sheet2
and JSA in B1, then put this in B2:

=SUMPRODUCT((Sheet1!$A$1:$A$100=$A2)*(Sheet1!$D$1: $D$100=B$1))

Adjust the ranges to suit how many rows of data you have. Then you
could have other benefits listed across row 1 and other towns in
column A and copy the formula across and down to suit.

I have to go for now (Corrie), but I'll come back later to address Q2
and Q3 if no-one else has.

Hope this helps.

Pete

On Dec 14, 6:47 pm, Craig wrote:



Hi...Very much learning!!


I have a spreadsheet that needs three parts sorted - xl 2003


Q!: In column A I have a location say Exeter....in column D I have a type of
Benefit say JSA - how can i write a formula so that on Sheet 2, I can count
how many customers in Exeter are claiming JSA based on where they are,
according to the benefit claimed....i suspect COUNTIF, but dont know how to
link it all together.


Q2: In column E, I have a date a referral was made....I want to use a
Green, Amber, Red, CF method, so that if date entered is up to 7 days from
the date entered (not TODAY as it wont always be that) the cell goes green -
I am using: =IF(E3<"",E3TODAY()-7), for Amber: =AND(E3<"",E3TODAY()-14)
and Red: =AND(E3<"",E3TODAY()-600)...the date needs to be updating so will
go from Green to Amber to Red as the CF applie - I know the formulas are
wrong but bin searching dicussion groups/net forr ages.


Q3: I would like to further develop this CF so that the colour can be
entered into column F as text i.e. Green, Amber or Red so that I can use a
simple COUNTIF, which I can do from that column.


Apologies for this long thread....tried asking the 'experts' in work, but
alas, their knowledge it would seem is best kept for them, just got 'do this'
and am now floundering !!! any help greatly appreciated and will add to my
kowledge so IT section can give the normal response....switch off / switch
off...sorry peeved with them


Thanks


Craig- Hide quoted text -


- Show quoted text -


.

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
How do you use multiple if formulas with multiple choices? LubberLou Excel Worksheet Functions 7 September 10th 08 10:12 PM
Multiple ifs and formulas NeSchw6G Excel Worksheet Functions 6 August 21st 08 10:58 PM
Multiple formats in a single cell with multiple formulas Zakhary Excel Worksheet Functions 1 May 2nd 08 12:08 AM
Multiple-Value formulas EricB Excel Worksheet Functions 6 May 14th 07 01:26 PM
Sort multiple columns with multiple formulas without returning #R bellsjrb Excel Worksheet Functions 0 July 14th 06 10:01 AM


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