View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
[email protected] vimal.ori@gmail.com is offline
external usenet poster
 
Posts: 4
Default sum last N rows not being a weekend

Hello

I have data in two columns: column A having dates and a corresponding amount in column B.

Now in column C, I would like to have a formula which would sum the last 10 rows in column B which do not have a weekend in column A, i.e., sum only numbers in column B which is correspond to a weekday for the last 10 weekdays.

Any help would be appreciated.