Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-2008, 07:23 AM
kevin carter
 
Posts: n/a
find largest number

hi,
i have a spreadsheet containing 2 grids of data relating to an op
the grid range for grid1 is B6:bb56

grid 2 is B64:BB113

in a third grid i have this formula

(MAX(VLOOKUP($B$6,R6:R56,2,FALSE),VLOOKUP($B$64,R6 4:R113,2,FALSE))),0)



i am trying to search a column for a fault ie op 10 which is in colulm
B in both grids,
when i find the match in both grids i want to look at a range of
cells and compare
the values in the cells and return the largest


any ideas

thanks

kevin

Reply With Quote
  #2 (permalink)  
Old 07-22-2008, 10:17 AM
Bob Phillips
 
Posts: n/a
Re: find largest number

Isn't it just

=MAX(VLOOKUP($10,B6:C56,2,FALSE),VLOOKUP(10,B64:C1 13,2,FALSE),0)

--
__________________________________
HTH

Bob

"kevin carter" <kevcar40@btinternet.com> wrote in message
news:77b0879c-a548-4715-b069-c9f2495b2f52@z66g2000hsc.googlegroups.com...
> hi,
> i have a spreadsheet containing 2 grids of data relating to an op
> the grid range for grid1 is B6:bb56
>
> grid 2 is B64:BB113
>
> in a third grid i have this formula
>
> (MAX(VLOOKUP($B$6,R6:R56,2,FALSE),VLOOKUP($B$64,R6 4:R113,2,FALSE))),0)
>
>
>
> i am trying to search a column for a fault ie op 10 which is in colulm
> B in both grids,
> when i find the match in both grids i want to look at a range of
> cells and compare
> the values in the cells and return the largest
>
>
> any ideas
>
> thanks
>
> kevin
>



Reply With Quote
  #3 (permalink)  
Old 07-22-2008, 11:36 AM
kevin carter
 
Posts: n/a
Re: find largest number

thanks for reply
i tried the fomula below
it errors on the dollar sign
if i remove the dollar it returns N?A

On 22 Jul, 11:17, "Bob Phillips" <Bob...@somewhere.com> wrote:
> Isn't it just
>
> =MAX(VLOOKUP($10,B6:C56,2,FALSE),VLOOKUP(10,B64:C1 13,2,FALSE),0)
>
> --
> __________________________________
> HTH
>
> Bob
>
> "kevin carter" <kevca...@btinternet.com> wrote in message
>
> news:77b0879c-a548-4715-b069-c9f2495b2f52@z66g2000hsc.googlegroups.com...
>
>
>
> > hi,
> > i have a spreadsheet containing 2 grids of data relating to an op
> > the grid range for grid1 is B6:bb56

>
> > grid 2 is B64:BB113

>
> > in a third grid i have this formula

>
> > (MAX(VLOOKUP($B$6,R6:R56,2,FALSE),VLOOKUP($B$64,R6 4:R113,2,FALSE))),0)

>
> > i am trying to search a column for a fault ie op 10 which is in colulm
> > B in both grids,
> > when i find the match in both grids i want to look at a range of
> > cells *and compare
> > the values in the cells and return the largest

>
> > any ideas

>
> > thanks

>
> > kevin- Hide quoted text -

>
> - Show quoted text -


Reply With Quote
  #4 (permalink)  
Old 07-22-2008, 01:00 PM
Pete_UK
 
Posts: n/a
Re: find largest number

It might be that the 10 you are looking for is actually a text value
in your grids (most people call them tables) - try it like this:

=MAX(VLOOKUP("10",B6:C56,2,FALSE),VLOOKUP("10",B64 :C113,2,FALSE),0)

Hope this helps.

Pete

On Jul 22, 12:36*pm, kevin carter <kevca...@btinternet.com> wrote:
> thanks for reply
> i tried the fomula below
> it errors on the dollar sign
> if i remove the dollar it returns N?A
>
> On 22 Jul, 11:17, "Bob Phillips" <Bob...@somewhere.com> wrote:
>
>
>
> > Isn't it just

>
> > =MAX(VLOOKUP($10,B6:C56,2,FALSE),VLOOKUP(10,B64:C1 13,2,FALSE),0)

>
> > --
> > __________________________________
> > HTH

>
> > Bob

>
> > "kevin carter" <kevca...@btinternet.com> wrote in message

>
> >news:77b0879c-a548-4715-b069-c9f2495b2f52@z66g2000hsc.googlegroups.com....

>
> > > hi,
> > > i have a spreadsheet containing 2 grids of data relating to an op
> > > the grid range for grid1 is B6:bb56

>
> > > grid 2 is B64:BB113

>
> > > in a third grid i have this formula

>
> > > (MAX(VLOOKUP($B$6,R6:R56,2,FALSE),VLOOKUP($B$64,R6 4:R113,2,FALSE))),0)

>
> > > i am trying to search a column for a fault ie op 10 which is in colulm
> > > B in both grids,
> > > when i find the match in both grids i want to look at a range of
> > > cells *and compare
> > > the values in the cells and return the largest

>
> > > any ideas

>
> > > thanks

>
> > > kevin- Hide quoted text -

>
> > - Show quoted text -- Hide quoted text -

>
> - Show quoted text -


Reply With Quote
  #5 (permalink)  
Old 07-22-2008, 04:57 PM
kevin carter
 
Posts: n/a
Re: find largest number

thanks bob
but will that formula work when the text is in column be and the
numeric valus in column S or any column up to bb?

On 22 Jul, 14:00, Pete_UK <pashu...@auditel.net> wrote:
> It might be that the 10 you are looking for is actually a text value
> in your grids (most people call them tables) - try it like this:
>
> =MAX(VLOOKUP("10",B6:C56,2,FALSE),VLOOKUP("10",B64 :C113,2,FALSE),0)
>
> Hope this helps.
>
> Pete
>
> On Jul 22, 12:36*pm, kevin carter <kevca...@btinternet.com> wrote:
>
>
>
> > thanks for reply
> > i tried the fomula below
> > it errors on the dollar sign
> > if i remove the dollar it returns N?A

>
> > On 22 Jul, 11:17, "Bob Phillips" <Bob...@somewhere.com> wrote:

>
> > > Isn't it just

>
> > > =MAX(VLOOKUP($10,B6:C56,2,FALSE),VLOOKUP(10,B64:C1 13,2,FALSE),0)

>
> > > --
> > > __________________________________
> > > HTH

>
> > > Bob

>
> > > "kevin carter" <kevca...@btinternet.com> wrote in message

>
> > >news:77b0879c-a548-4715-b069-c9f2495b2f52@z66g2000hsc.googlegroups.com....

>
> > > > hi,
> > > > i have a spreadsheet containing 2 grids of data relating to an op
> > > > the grid range for grid1 is B6:bb56

>
> > > > grid 2 is B64:BB113

>
> > > > in a third grid i have this formula

>
> > > > (MAX(VLOOKUP($B$6,R6:R56,2,FALSE),VLOOKUP($B$64,R6 4:R113,2,FALSE))),0)

>
> > > > i am trying to search a column for a fault ie op 10 which is in colulm
> > > > B in both grids,
> > > > when i find the match in both grids i want to look at a range of
> > > > cells *and compare
> > > > the values in the cells and return the largest

>
> > > > any ideas

>
> > > > thanks

>
> > > > kevin- Hide quoted text -

>
> > > - Show quoted text -- Hide quoted text -

>
> > - Show quoted text -- Hide quoted text -

>
> - Show quoted text -


Reply With Quote
  #6 (permalink)  
Old 07-22-2008, 06:27 PM
kevin carter
 
Posts: n/a
Re: find largest number

sorry pete sent reply
On 22 Jul, 17:57, kevin carter <kevca...@btinternet.com> wrote:
> thanks bob
> but will that formula work when the text is in column be and the
> numeric valus in column S or any column up to bb?
>
> On 22 Jul, 14:00, Pete_UK <pashu...@auditel.net> wrote:
>
>
>
> > It might be that the 10 you are looking for is actually a text value
> > in your grids (most people call them tables) - try it like this:

>
> > =MAX(VLOOKUP("10",B6:C56,2,FALSE),VLOOKUP("10",B64 :C113,2,FALSE),0)

>
> > Hope this helps.

>
> > Pete

>
> > On Jul 22, 12:36*pm, kevin carter <kevca...@btinternet.com> wrote:

>
> > > thanks for reply
> > > i tried the fomula below
> > > it errors on the dollar sign
> > > if i remove the dollar it returns N?A

>
> > > On 22 Jul, 11:17, "Bob Phillips" <Bob...@somewhere.com> wrote:

>
> > > > Isn't it just

>
> > > > =MAX(VLOOKUP($10,B6:C56,2,FALSE),VLOOKUP(10,B64:C1 13,2,FALSE),0)

>
> > > > --
> > > > __________________________________
> > > > HTH

>
> > > > Bob

>
> > > > "kevin carter" <kevca...@btinternet.com> wrote in message

>
> > > >news:77b0879c-a548-4715-b069-c9f2495b2f52@z66g2000hsc.googlegroups.com...

>
> > > > > hi,
> > > > > i have a spreadsheet containing 2 grids of data relating to an op
> > > > > the grid range for grid1 is B6:bb56

>
> > > > > grid 2 is B64:BB113

>
> > > > > in a third grid i have this formula

>
> > > > > (MAX(VLOOKUP($B$6,R6:R56,2,FALSE),VLOOKUP($B$64,R6 4:R113,2,FALSE))),0)

>
> > > > > i am trying to search a column for a fault ie op 10 which is in colulm
> > > > > B in both grids,
> > > > > when i find the match in both grids i want to look at a range of
> > > > > cells *and compare
> > > > > the values in the cells and return the largest

>
> > > > > any ideas

>
> > > > > thanks

>
> > > > > kevin- Hide quoted text -

>
> > > > - Show quoted text -- Hide quoted text -

>
> > > - Show quoted text -- Hide quoted text -

>
> > - Show quoted text -- Hide quoted text -

>
> - Show quoted text -


Reply With Quote
  #7 (permalink)  
Old 07-22-2008, 10:22 PM
Bob Phillips
 
Posts: n/a
Re: find largest number

sorry, my typo

--
__________________________________
HTH

Bob

"kevin carter" <kevcar40@btinternet.com> wrote in message
news:9e2c3b39-5340-4aa8-a3cb-6177a5979084@l42g2000hsc.googlegroups.com...
thanks for reply
i tried the fomula below
it errors on the dollar sign
if i remove the dollar it returns N?A

On 22 Jul, 11:17, "Bob Phillips" <Bob...@somewhere.com> wrote:
> Isn't it just
>
> =MAX(VLOOKUP($10,B6:C56,2,FALSE),VLOOKUP(10,B64:C1 13,2,FALSE),0)
>
> --
> __________________________________
> HTH
>
> Bob
>
> "kevin carter" <kevca...@btinternet.com> wrote in message
>
> news:77b0879c-a548-4715-b069-c9f2495b2f52@z66g2000hsc.googlegroups.com...
>
>
>
> > hi,
> > i have a spreadsheet containing 2 grids of data relating to an op
> > the grid range for grid1 is B6:bb56

>
> > grid 2 is B64:BB113

>
> > in a third grid i have this formula

>
> > (MAX(VLOOKUP($B$6,R6:R56,2,FALSE),VLOOKUP($B$64,R6 4:R113,2,FALSE))),0)

>
> > i am trying to search a column for a fault ie op 10 which is in colulm
> > B in both grids,
> > when i find the match in both grids i want to look at a range of
> > cells and compare
> > the values in the cells and return the largest

>
> > any ideas

>
> > thanks

>
> > kevin- Hide quoted text -

>
> - Show quoted text -



Reply With Quote
  #8 (permalink)  
Old 07-23-2008, 06:55 AM
kevin carter
 
Posts: n/a
Re: find largest number

I may not have explained correctly
i have a two tables of data table 1 B6:bb56
table 2 B64:bb113
the op numbers are in column B
the numeric values are in columns c to bb
the formula provided works fine with column C
but fails on columns D to BB
How do i modify to formula to find the op in column b and compare the
values in columns c then columns d etc..

thanks

kevin

Bob Phillips wrote:

> sorry, my typo
>
> --
> __________________________________
> HTH
>
> Bob
>
> "kevin carter" <kevcar40@btinternet.com> wrote in message
> news:9e2c3b39-5340-4aa8-a3cb-6177a5979084@l42g2000hsc.googlegroups.com...
> thanks for reply
> i tried the fomula below
> it errors on the dollar sign
> if i remove the dollar it returns N?A
>
> On 22 Jul, 11:17, "Bob Phillips" <Bob...@somewhere.com> wrote:
> > Isn't it just
> >
> > =MAX(VLOOKUP($10,B6:C56,2,FALSE),VLOOKUP(10,B64:C1 13,2,FALSE),0)
> >
> > --
> > __________________________________
> > HTH
> >
> > Bob
> >
> > "kevin carter" <kevca...@btinternet.com> wrote in message
> >
> > news:77b0879c-a548-4715-b069-c9f2495b2f52@z66g2000hsc.googlegroups.com...
> >
> >
> >
> > > hi,
> > > i have a spreadsheet containing 2 grids of data relating to an op
> > > the grid range for grid1 is B6:bb56

> >
> > > grid 2 is B64:BB113

> >
> > > in a third grid i have this formula

> >
> > > (MAX(VLOOKUP($B$6,R6:R56,2,FALSE),VLOOKUP($B$64,R6 4:R113,2,FALSE))),0)

> >
> > > i am trying to search a column for a fault ie op 10 which is in colulm
> > > B in both grids,
> > > when i find the match in both grids i want to look at a range of
> > > cells and compare
> > > the values in the cells and return the largest

> >
> > > any ideas

> >
> > > thanks

> >
> > > kevin- Hide quoted text -

> >
> > - Show quoted text -

Reply With Quote
  #9 (permalink)  
Old 07-23-2008, 08:06 AM
Bob Phillips
 
Posts: n/a
Re: find largest number

Try this

=MAX(INDEX(C6:BB56,MATCH(lookup_val,B6:B56,0),0),I NDEX(C64:BB113,MATCH(lookup_val,B64:B113,0),0))

--
__________________________________
HTH

Bob

"kevin carter" <kevcar40@btinternet.com> wrote in message
news:1012391a-9164-4648-b41f-1bfc9d60c63c@p25g2000hsf.googlegroups.com...
>I may not have explained correctly
> i have a two tables of data table 1 B6:bb56
> table 2 B64:bb113
> the op numbers are in column B
> the numeric values are in columns c to bb
> the formula provided works fine with column C
> but fails on columns D to BB
> How do i modify to formula to find the op in column b and compare the
> values in columns c then columns d etc..
>
> thanks
>
> kevin
>
> Bob Phillips wrote:
>
>> sorry, my typo
>>
>> --
>> __________________________________
>> HTH
>>
>> Bob
>>
>> "kevin carter" <kevcar40@btinternet.com> wrote in message
>> news:9e2c3b39-5340-4aa8-a3cb-6177a5979084@l42g2000hsc.googlegroups.com...
>> thanks for reply
>> i tried the fomula below
>> it errors on the dollar sign
>> if i remove the dollar it returns N?A
>>
>> On 22 Jul, 11:17, "Bob Phillips" <Bob...@somewhere.com> wrote:
>> > Isn't it just
>> >
>> > =MAX(VLOOKUP($10,B6:C56,2,FALSE),VLOOKUP(10,B64:C1 13,2,FALSE),0)
>> >
>> > --
>> > __________________________________
>> > HTH
>> >
>> > Bob
>> >
>> > "kevin carter" <kevca...@btinternet.com> wrote in message
>> >
>> > news:77b0879c-a548-4715-b069-c9f2495b2f52@z66g2000hsc.googlegroups.com...
>> >
>> >
>> >
>> > > hi,
>> > > i have a spreadsheet containing 2 grids of data relating to an op
>> > > the grid range for grid1 is B6:bb56
>> >
>> > > grid 2 is B64:BB113
>> >
>> > > in a third grid i have this formula
>> >
>> > > (MAX(VLOOKUP($B$6,R6:R56,2,FALSE),VLOOKUP($B$64,R6 4:R113,2,FALSE))),0)
>> >
>> > > i am trying to search a column for a fault ie op 10 which is in
>> > > colulm
>> > > B in both grids,
>> > > when i find the match in both grids i want to look at a range of
>> > > cells and compare
>> > > the values in the cells and return the largest
>> >
>> > > any ideas
>> >
>> > > thanks
>> >
>> > > kevin- Hide quoted text -
>> >
>> > - Show quoted text -



Reply With Quote
  #10 (permalink)  
Old 07-24-2008, 09:12 AM
kevin carter
 
Posts: n/a
Re: find largest number

On 23 Jul, 09:06, "Bob Phillips" <Bob...@somewhere.com> wrote:
> Try this
>
> =MAX(INDEX(C6:BB56,MATCH(lookup_val,B6:B56,0),0),I NDEX(C64:BB113,MATCH(look*up_val,B64:B113,0),0))
>
> --
> __________________________________
> HTH
>
> Bob
>
> "kevin carter" <kevca...@btinternet.com> wrote in message
>
> news:1012391a-9164-4648-b41f-1bfc9d60c63c@p25g2000hsf.googlegroups.com...
>
>
>
> >I may not have explained correctly
> > i have a two tables of data table 1 B6:bb56
> > * * * * * * * * * * * * * * * * * **table 2 B64:bb113
> > the op numbers are in column B
> > the numeric values are in columns c to bb
> > the formula provided works fine with column C
> > but fails on columns D to BB
> > How do i modify to formula to find the op in column b and compare the
> > values in *columns c then columns d etc..

>
> > thanks

>
> > kevin

>
> > Bob Phillips wrote:

>
> >> sorry, my typo

>
> >> --
> >> __________________________________
> >> HTH

>
> >> Bob

>
> >> "kevin carter" <kevca...@btinternet.com> wrote in message
> >>news:9e2c3b39-5340-4aa8-a3cb-6177a5979084@l42g2000hsc.googlegroups.com....
> >> thanks for reply
> >> i tried the fomula below
> >> it errors on the dollar sign
> >> if i remove the dollar it returns N?A

>
> >> On 22 Jul, 11:17, "Bob Phillips" <Bob...@somewhere.com> wrote:
> >> > Isn't it just

>
> >> > =MAX(VLOOKUP($10,B6:C56,2,FALSE),VLOOKUP(10,B64:C1 13,2,FALSE),0)

>
> >> > --
> >> > __________________________________
> >> > HTH

>
> >> > Bob

>
> >> > "kevin carter" <kevca...@btinternet.com> wrote in message

>
> >> >news:77b0879c-a548-4715-b069-c9f2495b2f52@z66g2000hsc.googlegroups.com...

>
> >> > > hi,
> >> > > i have a spreadsheet containing 2 grids of data relating to an op
> >> > > the grid range for grid1 is B6:bb56

>
> >> > > grid 2 is B64:BB113

>
> >> > > in a third grid i have this formula

>
> >> > > (MAX(VLOOKUP($B$6,R6:R56,2,FALSE),VLOOKUP($B$64,R6 4:R113,2,FALSE))),0)

>
> >> > > i am trying to search a column for a fault ie op 10 which is in
> >> > > colulm
> >> > > B in both grids,

Thanks Bob
Works a treat

one question
how can i stop N/A if the op is not in one of the tables
i tried iserror but i am failing

thanks
kevin
> >> > > when i find the match in both grids i want to look at a range of
> >> > > cells and compare
> >> > > the values in the cells and return the largest

>
> >> > > any ideas

>
> >> > > thanks

>
> >> > > kevin- Hide quoted text -

>
> >> > - Show quoted text -- Hide quoted text -

>
> - Show quoted text -


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:58 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Compare | Mobile Phones | Carpedia Blog | American Flags | Remortgaging



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109