View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 1,726
Default Coding if formuals

In VBA?

Msgbox
Application.SUMIF(Worksheets("TOEPIEXP").Range("F: F"),1,Worksheets("TOEPIEXP").Range("P:P"))


--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)

"jln via OfficeKB.com" <u25956@uwe wrote in message
news:6af34c0bdd926@uwe...
How do i code this if formual?

=SUMIF(TOEPIEXP!F:F,"=1",TOEPIEXP!P:P)

--
Message posted via http://www.officekb.com