LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Please can you help me

To help clarify what is happening, look at the middle of the formula:


IF( Data!$A$1:$A$5000 = A1 , Data!$B$1:$B$5000 , "" )


If the value in column A (Category) from Data matches the Category entered in
cell A1, it returns the value from column B (Sales Range) in Data, otherwise it
returns "". Because the formula references multiple cells and was array
entered, the result is an array of values and now your formula looks something
like this:


=LOOKUP(B1,
{"", "", "", 0, 15000, 35000, 65000, 10000, "", "", ""},
Data!$C$1:$C$5000)


The LOOKUP compares the sales value entered in B1 to the array and returns the
corresponding value in column C (Rep Calls) from Data, following the rules of
the LOOKUP function.


Mattlynn via OfficeKB.com wrote:
Thanks Glenn, but where does this formaul look at the actual sales value
reached by the customer.

I see its looking up the category B1 in a tab called data in col A, and the
sales ranges in Col B, and bringing back the rep calls in Col C, but how does
it know what mysales actual was

Thanks
Matt



Glenn wrote:
I posted this earlier but managed to confuse Jarek who kindly offered some
solutions, but to no avail.

[quoted text clipped - 34 lines]
over the moon.
Many Thanks

Array formula (commit with CTRL+SHIFT+ENTER):

=LOOKUP(B1,IF(Data!$A$1:$A$5000=A1,Data!$B$1:$B$50 00,""),Data!$C$1:$C$5000)


 
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 04:52 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"