Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ross
 
Posts: n/a
Default Ignoring certain data


Hello,

How do you get excel to ignore certain data when reading a cell?

I want to use VLOOKUP to match a cell reading "NP001" with "N001"

Or even better I want to use it in a SumProduct Formula:

=SUMPRODUCT((A1:A10="N001")*(B1:B10=--"02/06/06");C1:C10)

Thanks,
P
  #2   Report Post  
Posted to microsoft.public.excel.misc
Franz Verga
 
Posts: n/a
Default Ignoring certain data

Nel post
*Ross* ha scritto:

Hello,

How do you get excel to ignore certain data when reading a cell?

I want to use VLOOKUP to match a cell reading "NP001" with "N001"

Or even better I want to use it in a SumProduct Formula:

=SUMPRODUCT((A1:A10="N001")*(B1:B10=--"02/06/06");C1:C10)

Thanks,
P


Hi Ross,

maybe this is good for you:

=SUMPRODUCT((SUBSTITUTE(A1:A10,"P","")="N001")*(B1 :B10=--"02/06/06");C1:C10)


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #3   Report Post  
Posted to microsoft.public.excel.misc
Ross
 
Posts: n/a
Default Ignoring certain data

Thank you that does work to an extent, however my cell keeps returning #VALUE
as it is text I am trying to return not numbers, any suggestions on a way
round this?

Thanks,
Ross



"Franz Verga" wrote:

Nel post
*Ross* ha scritto:

Hello,

How do you get excel to ignore certain data when reading a cell?

I want to use VLOOKUP to match a cell reading "NP001" with "N001"

Or even better I want to use it in a SumProduct Formula:

=SUMPRODUCT((A1:A10="N001")*(B1:B10=--"02/06/06");C1:C10)

Thanks,
P


Hi Ross,

maybe this is good for you:

=SUMPRODUCT((SUBSTITUTE(A1:A10,"P","")="N001")*(B1 :B10=--"02/06/06");C1:C10)


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy



  #4   Report Post  
Posted to microsoft.public.excel.misc
Franz Verga
 
Posts: n/a
Default Ignoring certain data

Nel post
*Ross* ha scritto:

"Franz Verga" wrote:

Nel post
*Ross* ha scritto:

Hello,

How do you get excel to ignore certain data when reading a cell?

I want to use VLOOKUP to match a cell reading "NP001" with "N001"

Or even better I want to use it in a SumProduct Formula:

=SUMPRODUCT((A1:A10="N001")*(B1:B10=--"02/06/06");C1:C10)

Thanks,
P


Hi Ross,

maybe this is good for you:

=SUMPRODUCT((SUBSTITUTE(A1:A10,"P","")="N001")*(B1 :B10=--"02/06/06");C1:C10)

Thank you that does work to an extent, however my cell keeps
returning #VALUE as it is text I am trying to return not numbers, any
suggestions on a way round this?



But in your first post you said you want to use SUMPRODUCT.. This function
is used to make calculation, so need almost 1 range with numbers... If you
have only text, we have to change... Try to post an example of the way you
would use VLOOKUP...

--
(I'm not sure of names of menues, option and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #5   Report Post  
Posted to microsoft.public.excel.misc
Ross
 
Posts: n/a
Default Ignoring certain data

Im not really sure what VLOOKUP to use or where to start I want to return the
HDR data from belwo table using a reference cell stating "S59" and a cell
stating the Date "1/4/2006 00:00"

Code ProdDate OnLine Hdr
SP59 01/04/2006 00:00 24 HDR2
SP69 01/04/2006 00:00 24 HDR1
MS19 01/04/2006 00:00 0 TEST
SP28 01/04/2006 00:00 0 SHUT
SP33 01/04/2006 00:00 24 HDR1
SP50 01/04/2006 00:00 24 HDR2

Thanks,





"Franz Verga" wrote:

Nel post
*Ross* ha scritto:

"Franz Verga" wrote:

Nel post
*Ross* ha scritto:

Hello,

How do you get excel to ignore certain data when reading a cell?

I want to use VLOOKUP to match a cell reading "NP001" with "N001"

Or even better I want to use it in a SumProduct Formula:

=SUMPRODUCT((A1:A10="N001")*(B1:B10=--"02/06/06");C1:C10)

Thanks,
P

Hi Ross,

maybe this is good for you:

=SUMPRODUCT((SUBSTITUTE(A1:A10,"P","")="N001")*(B1 :B10=--"02/06/06");C1:C10)

Thank you that does work to an extent, however my cell keeps
returning #VALUE as it is text I am trying to return not numbers, any
suggestions on a way round this?



But in your first post you said you want to use SUMPRODUCT.. This function
is used to make calculation, so need almost 1 range with numbers... If you
have only text, we have to change... Try to post an example of the way you
would use VLOOKUP...

--
(I'm not sure of names of menues, option and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy





  #6   Report Post  
Posted to microsoft.public.excel.misc
Franz Verga
 
Posts: n/a
Default Ignoring certain data

Nel post
*Ross* ha scritto:

Im not really sure what VLOOKUP to use or where to start I want to
return the HDR data from belwo table using a reference cell stating
"S59" and a cell stating the Date "1/4/2006 00:00"

Code ProdDate OnLine Hdr
SP59 01/04/2006 00:00 24 HDR2
SP69 01/04/2006 00:00 24 HDR1
MS19 01/04/2006 00:00 0 TEST
SP28 01/04/2006 00:00 0 SHUT
SP33 01/04/2006 00:00 24 HDR1
SP50 01/04/2006 00:00 24 HDR2

Thanks,


Maybe you can add a first column in which you can concatenate the code and
the date and then use a VLOOKUP funcition like this:

=VLOOKUP(A2&A3,A5:D8,4,FALSE)

where in A2 you put the code (S59) and in A3 the date (1/4/2006 00:00) you
want to search for.

Adjust the references.

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ignoring Rows When Extracting Data From One Worksheet To Another Jim J. Excel Worksheet Functions 2 May 8th 06 04:55 PM
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Importing Data Jillian Excel Worksheet Functions 9 December 23rd 05 12:45 PM
Ignoring 0 values in the series data Alison Charts and Charting in Excel 5 August 16th 05 03:10 PM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM


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