Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Search column for certain criteria and display results in a table

What I am wanting to do is have a macro or some sort of VBA code that
will search a certain column for certain criteria and output the
results in a table on another sheet. I will give an example:

I have a sheet, Sheet1, that contains columns labeled Branch, Project,
Project Type, and Yards.

In the Project Type column, I will have something like 4 options I will
input on the cells. The options will be R for residential, C for
commerical, CASH for cash jobs, and X for everything else. The Yards
column will be a figure representing the total amount of Cubic Yards
for each job.

I need something that will search the Project Type column for each of
the 4 options and total the amount of yards from the Yards column for
each project type. So, if i have 10 jobs, it will search the 10 jobs,
determine which kind each is by the Project Code, total the yards for
each type and display the info in a table on another sheet. The table
will display Residential, Commercial, Cash, and Other and the total
amount of yards for each.

Any help is MUCH appreciated!!

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
Search cells based on criteria and display results in a single col G Bonham Excel Discussion (Misc queries) 5 January 12th 07 03:19 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
Search a column and display a value [email protected][_2_] Excel Programming 1 March 22nd 06 03:27 PM
search column and output results in new worksheet in a different o Paul Excel Programming 6 March 19th 06 06:46 PM
Search Range for Criteria in given cell and produce results RFreeman12 Excel Discussion (Misc queries) 3 June 27th 05 09:23 PM


All times are GMT +1. The time now is 04:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"