+ Reply to Thread
Results 1 to 2 of 2

IF(ISNA) formula based on content of 2 fields

  1. #1
    Registered User
    Join Date
    05-20-2009
    Location
    Switzerland
    MS-Off Ver
    Excel 365
    Posts
    45

    IF(ISNA) formula based on content of 2 fields

    Dear all,

    In a report I have 2 sheets:

    Sheet 1 : sales figures
    Sheet 2 : activity code per address

    In sheet 1 I use the below formula to show the activity code behind the address :

    =IF(ISNA(MATCH([Address Code];Activities!A:A;0));"";INDEX(Activities!C:C;MATCH([Address Code];Activities!A:A;0)))

    Now I have multiple companies in which we have the same customer address.

    In the sheet 1 there is also a column with the company reference

    Is it possible to extend the formula to look at the company and the address code and then show the correct activity code
    In each company the same company can have a different activity code

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF(ISNA) formula based on content of 2 fields

    Try something like:

    Please Login or Register  to view this content.
    where Activities B1:B100 contain the Company names to match up with reference on sheet 1 [Company]

    Also note: You can't use whole column references with this formula.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1