LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Extracting cells from a table

.. list the item names and percentages for all items
that are more than 10% over budget.


Assume source data is in sheet named: x,
data from row 2 down
where col B = Item, col K = Percent

In another sheet,
In A2: =IF(x!K2="","",IF(x!K210%,ROW(),""))
Leave A1 blank

In B2:
=IF(ROWS($1:1)COUNT(A:A),"",INDEX(x!B:B,SMALL(A:A ,ROWS($1:1))))

In C2:
=IF(ROWS($1:1)COUNT(A:A),"",INDEX(x!K:K,SMALL(A:A ,ROWS($1:1))))
Format C2 as percentage. Select A2:C2, copy down to cover the max expected
extent of data in x, say down to C200. Minimize col A. Cols B & C will return
the exact results that you seek, all neatly bunched at the top
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"John" wrote:
I have a table of rows listing budget, actuals and variance for each line
item in my budget. The second column, titled "Item", contains the budget item
name and the last column, titled "Percent", is the percentage over or under
budget for that item. I want to create a second worksheet in the workbook
that lists the item names and percentages for all items that are more than
10% over budget.

Is there a function I can use to pull this list of item names and
percentages? Pls give me an idea how to write this function.

Thank you for your help, John



 
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
extracting data from a table mitch Excel Discussion (Misc queries) 3 January 25th 08 10:43 PM
Extracting Data from a Table Iceman Excel Discussion (Misc queries) 6 November 29th 07 04:13 PM
Extracting information from table Ianb Excel Worksheet Functions 2 March 7th 07 10:13 PM
Extracting Data From A Table zephyr Excel Discussion (Misc queries) 2 December 22nd 06 02:45 AM
Extracting values from a table Rob Cherry Excel Discussion (Misc queries) 2 April 2nd 06 11:21 PM


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