Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 112
Default I wish someone could help me on this

I am trying to do an SPC chart and within my criteria I need to look up at
sheet for two patient types 1 & 2. I can do this however I also want it to
bring in any patient type 1's first and then patient type 2 underneath with
it being an automatic sort ?????

this is what i have so far
=(IF(ROWS('Data extract table'!BM3:BM3)<=COUNTIF('Data extract
table'!BM$3:BM$56000,1),INDEX('Data extract
table'!BM$3:BM$56000,SMALL(IF('Data extract table'!BM$3:BM$56000=1,(ROW('Data
extract table'!BM$3:BM$56000)-ROW('Data extract table'!BM$3)+1)),ROW('Data
extract table'!BM3))),IF(ROWS('Data extract table'!BM3:BM3)<=COUNTIF('Data
extract table'!BM$3:BM$56000,2),INDEX('Data extract
table'!BM$3:BM$56000,SMALL(IF('Data extract table'!BM$3:BM$56000=2,(ROW('Data
extract table'!BM$3:BM$56000)-ROW('Data extract table'!BM$3)+1)),ROW('Data
extract table'!BM3))))))


It will give me patient type 1 but then shows num# for the patient type 2
underneath

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default I wish someone could help me on this

It looks like you may be missing dollar signs infront of some of your $3
rows. with something this complicated I would use Tool Menu - formula
auditing - Evaluate formula and find which term is creating the #num error.

"kate" wrote:

I am trying to do an SPC chart and within my criteria I need to look up at
sheet for two patient types 1 & 2. I can do this however I also want it to
bring in any patient type 1's first and then patient type 2 underneath with
it being an automatic sort ?????

this is what i have so far
=(IF(ROWS('Data extract table'!BM3:BM3)<=COUNTIF('Data extract
table'!BM$3:BM$56000,1),INDEX('Data extract
table'!BM$3:BM$56000,SMALL(IF('Data extract table'!BM$3:BM$56000=1,(ROW('Data
extract table'!BM$3:BM$56000)-ROW('Data extract table'!BM$3)+1)),ROW('Data
extract table'!BM3))),IF(ROWS('Data extract table'!BM3:BM3)<=COUNTIF('Data
extract table'!BM$3:BM$56000,2),INDEX('Data extract
table'!BM$3:BM$56000,SMALL(IF('Data extract table'!BM$3:BM$56000=2,(ROW('Data
extract table'!BM$3:BM$56000)-ROW('Data extract table'!BM$3)+1)),ROW('Data
extract table'!BM3))))))


It will give me patient type 1 but then shows num# for the patient type 2
underneath

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



All times are GMT +1. The time now is 08:59 PM.

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"