#1   Report Post  
G
 
Posts: n/a
Default formula question

Hi I am looking for the best formula to return a value depending on a couple
of arguements.

I have two columns one with activity , one with a date - say a and b for
arguments sake.. column a may have: 1/1/05 , 2/1/05 , 3/1/05, 4/1/05 , 5/1/05
where column b may have: phone call , meeting , email , meeting, email..

I wouldlike to have a formual the shows the last date we had a meeting.. in
this case 4/1/05

Thanks in advance
  #2   Report Post  
David Billigmeier
 
Posts: n/a
Default

Format an empty cell as a date and enter in this formula (enter it by
pressing CTRL+SHIFT+ENTER) as it is an array formula:

=MAX(IF(A1:A10="meeting",A1:A10,""))


--
Regards,
Dave


"G" wrote:

Hi I am looking for the best formula to return a value depending on a couple
of arguements.

I have two columns one with activity , one with a date - say a and b for
arguments sake.. column a may have: 1/1/05 , 2/1/05 , 3/1/05, 4/1/05 , 5/1/05
where column b may have: phone call , meeting , email , meeting, email..

I wouldlike to have a formual the shows the last date we had a meeting.. in
this case 4/1/05

Thanks in advance

  #3   Report Post  
G
 
Posts: n/a
Default

Thanks for the reply David but think i am missing something.. would you mind
dumbing it down a little .. sorry its 5 to 7 in the morning here !!

Ctrl+shift+enter not doing anything and I'm a little lost ..

"David Billigmeier" wrote:

Format an empty cell as a date and enter in this formula (enter it by
pressing CTRL+SHIFT+ENTER) as it is an array formula:

=MAX(IF(A1:A10="meeting",A1:A10,""))


--
Regards,
Dave


"G" wrote:

Hi I am looking for the best formula to return a value depending on a couple
of arguements.

I have two columns one with activity , one with a date - say a and b for
arguments sake.. column a may have: 1/1/05 , 2/1/05 , 3/1/05, 4/1/05 , 5/1/05
where column b may have: phone call , meeting , email , meeting, email..

I wouldlike to have a formual the shows the last date we had a meeting.. in
this case 4/1/05

Thanks in advance

  #4   Report Post  
David Billigmeier
 
Posts: n/a
Default

Sorry bout that, I had a typo in the previous formula, try this, it should
work (enter by CTRL+SHIFT+ENTER again):

=MAX(IF(B1:B10="meeting",A1:A10,""))

--
Regards,
Dave


"G" wrote:

Thanks for the reply David but think i am missing something.. would you mind
dumbing it down a little .. sorry its 5 to 7 in the morning here !!

Ctrl+shift+enter not doing anything and I'm a little lost ..

"David Billigmeier" wrote:

Format an empty cell as a date and enter in this formula (enter it by
pressing CTRL+SHIFT+ENTER) as it is an array formula:

=MAX(IF(A1:A10="meeting",A1:A10,""))


--
Regards,
Dave


"G" wrote:

Hi I am looking for the best formula to return a value depending on a couple
of arguements.

I have two columns one with activity , one with a date - say a and b for
arguments sake.. column a may have: 1/1/05 , 2/1/05 , 3/1/05, 4/1/05 , 5/1/05
where column b may have: phone call , meeting , email , meeting, email..

I wouldlike to have a formual the shows the last date we had a meeting.. in
this case 4/1/05

Thanks in advance

  #5   Report Post  
G
 
Posts: n/a
Default

goal..

well done and thank you

"David Billigmeier" wrote:

Sorry bout that, I had a typo in the previous formula, try this, it should
work (enter by CTRL+SHIFT+ENTER again):

=MAX(IF(B1:B10="meeting",A1:A10,""))

--
Regards,
Dave


"G" wrote:

Thanks for the reply David but think i am missing something.. would you mind
dumbing it down a little .. sorry its 5 to 7 in the morning here !!

Ctrl+shift+enter not doing anything and I'm a little lost ..

"David Billigmeier" wrote:

Format an empty cell as a date and enter in this formula (enter it by
pressing CTRL+SHIFT+ENTER) as it is an array formula:

=MAX(IF(A1:A10="meeting",A1:A10,""))


--
Regards,
Dave


"G" wrote:

Hi I am looking for the best formula to return a value depending on a couple
of arguements.

I have two columns one with activity , one with a date - say a and b for
arguments sake.. column a may have: 1/1/05 , 2/1/05 , 3/1/05, 4/1/05 , 5/1/05
where column b may have: phone call , meeting , email , meeting, email..

I wouldlike to have a formual the shows the last date we had a meeting.. in
this case 4/1/05

Thanks in advance



  #6   Report Post  
Domenic
 
Posts: n/a
Default

If your dates are in ascending order, try

=LOOKUP(2,1/(B1:B5="Meeting"),A1:A5)

Otherwise, try...

=MAX(IF(B1:B5="Meeting",A1:A5))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"G" wrote:

Hi I am looking for the best formula to return a value depending on a couple
of arguements.

I have two columns one with activity , one with a date - say a and b for
arguments sake.. column a may have: 1/1/05 , 2/1/05 , 3/1/05, 4/1/05 , 5/1/05
where column b may have: phone call , meeting , email , meeting, email..

I wouldlike to have a formual the shows the last date we had a meeting.. in
this case 4/1/05

Thanks in advance

  #7   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi,

Use the following formula in another cell formatted as 'Date', and confirm
with
CTRL-SHIFT-ENTER

=MAX(A1:A100*(B1:B100="Meeting")) [Change the cell range appropriately]


Regards,
B. R. Ramachandran

"G" wrote:

Hi I am looking for the best formula to return a value depending on a couple
of arguements.

I have two columns one with activity , one with a date - say a and b for
arguments sake.. column a may have: 1/1/05 , 2/1/05 , 3/1/05, 4/1/05 , 5/1/05
where column b may have: phone call , meeting , email , meeting, email..

I wouldlike to have a formual the shows the last date we had a meeting.. in
this case 4/1/05

Thanks in advance

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
An Excel Formula Question JWCardington Excel Worksheet Functions 6 September 24th 05 09:00 PM
Formula Question HTC Excel Discussion (Misc queries) 5 September 22nd 05 04:59 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Formula Question JDT Excel Discussion (Misc queries) 2 January 30th 05 01:17 PM


All times are GMT +1. The time now is 02:17 AM.

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"