I need assistance with an Excel Lookup Function

Just making sure I have it right. If all [SubPartNo] for a particular [PartNo] have a [Purchased] value of 1, you want the [Import] column to have a "Y" for all rows of that particular [PartNo].This is pretty straightforward. You're going to want to nest versions of the SUM and COUNT functions inside of an IF formula.If you have your table formatted as a table in Excel 2010 or higher:Text=IF ( SUMIFS ( [Purchased],[PartNo],[@PartNo] ) = COUNTIFS ( [PartNo],[@PartNo] ), "Y", "N" )If not, based on the visible rows in your attached image (you can adjust the 14 to be the actual last row of your data):
Text=IF ( SUMIFS ( $C$2:$C$14, $A$2:$A$14, $A2 ) = COUNTIFS ( $A$2:$A$14, $A2 ), "Y", "N" )What these are doing is summing the [Purchased] column for all rows where the [PartNo] is the same as the current row. Then it is comparing that to the...

I have the following table where I need to determine which parts I can import into our new
database. The criteria is that all of the values in the purchased Column for each PartNo must = 1 in order to mark a Y in the Import field. Can anyone help me solve this? I've got several thousand to sort through.
This topic first appeared in the Spiceworks Community

Similar Messages

  • Need assistance with Windows 2008 R2 server BSOD - ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY (fc)

    Need assistance with Windows 2008 R2 server BSOD - ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY (fc)
    I have a Windows 2008 R2 server which is experiencing random BSOD during the night. This is occurring maybe once or twice a week. I have gathered two Memory crash files. This server is running Citrix XenApp 6.5 but nothing else is reporting an issue except
    for the memory dump. I’m looking for assistance in reading crash file and finding the cause.
    I’ve spent over a week going through articles trying to learn and trouble shoot the BSOD but no closer to understanding the WinDbg 6.3.9600 report.
    This is a production server and I have verified that Windows Updates has updated the server with latest releases. I’m hoping that the crash file will show something before I have to run the Driver Verifier.
    The crash zip file is located -
    https://onedrive.live.com/redir?resid=9644A4E0A26873B1!2359&authkey=!AMS4Svuk-SS3-JA&ithint=file%2czip
    *                        Bugcheck Analysis                                   
    ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY (fc)
    An attempt was made to execute non-executable memory.  The guilty driver
    is on the stack trace (and is typically the current instruction pointer).
    When possible, the guilty driver's name (Unicode string) is printed on
    the bugcheck screen and saved in KiBugCheckDriver.
    Arguments:
    Arg1: fffff880009eff38, Virtual address for the attempted execute.
    Arg2: 8000000002cfe963, PTE contents.
    Arg3: fffff8800da2eea0, (reserved)
    Arg4: 0000000000000002, (reserved)
    Debugging Details:
    DEFAULT_BUCKET_ID:  WIN7_DRIVER_FAULT
    BUGCHECK_STR:  0xFC
    PROCESS_NAME:  powershell.exe
    CURRENT_IRQL:  0
    ANALYSIS_VERSION: 6.3.9600.17237 (debuggers(dbg).140716-0327) amd64fre
    TRAP_FRAME:  fffff8800da2eea0 -- (.trap 0xfffff8800da2eea0)
    NOTE: The trap frame does not contain all registers.
    Some register values may be zeroed or incorrect.
    rax=fffffa80070f3648 rbx=0000000000000000 rcx=fffffa80070f3648
    rdx=fffff8800da2fbf8 rsi=0000000000000000 rdi=0000000000000000
    rip=fffff80001680b80 rsp=fffff8800da2f030 rbp=fffff8800da2fbd0
     r8=fffff8a01804c680  r9=fffff8800da2fc68 r10=fffffffffffffffd
    r11=fffff8800da2fa90 r12=0000000000000000 r13=0000000000000000
    r14=0000000000000000 r15=0000000000000000
    iopl=0         nv up di pl nz na pe nc
    nt!KiPageFault:
    fffff800`01680b80 55              push    rbp
    Resetting default scope
    STACK_COMMAND:  kb
    FOLLOWUP_IP:
    nt! ?? ::FNODOBFM::`string'+44dfc
    fffff800`017008b8 cc              int     3
    SYMBOL_STACK_INDEX:  1
    SYMBOL_NAME:  nt! ?? ::FNODOBFM::`string'+44dfc
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: nt
    IMAGE_NAME:  ntkrnlmp.exe
    DEBUG_FLR_IMAGE_TIMESTAMP:  531590fb
    IMAGE_VERSION:  6.1.7601.18409
    FAILURE_BUCKET_ID:  X64_0xFC_nt!_??_::FNODOBFM::_string_+44dfc
    BUCKET_ID:  X64_0xFC_nt!_??_::FNODOBFM::_string_+44dfc
    ANALYSIS_SOURCE:  KM
    FAILURE_ID_HASH_STRING:  km:x64_0xfc_nt!_??_::fnodobfm::_string_+44dfc
    FAILURE_ID_HASH:  {aa632d36-b0f7-67cf-89e2-1cec389c0a11}
    Followup: MachineOwner

    Hi Kaysel_GTG,
    Just addition. Regarding to Bug Check 0xFC, please refer to following article and check if can help you.
    Bug Check 0xFC: ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY
    By the way, since it is not effective for us to debug the crash dump file here in the forum. If this issues is a state of emergency for you. Please contact Microsoft Customer
    Service and Support (CSS) via telephone so that a dedicated Support Professional can assist with your request.
    To obtain the phone numbers for specific technology request, please refer to the web site listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
    if any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu

  • HT201209 I need assistance with trying to figure out how to change my security code answer

    I need assistance with trying to figure out how to change my security code answer

    If you mean the answers to your security questions, then f
    rom http://support.apple.com/kb/HT5665 :
    If you have three security questions and a rescue email address
    sign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers (the steps half-way down that page should give you a reset link)
    If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID passwordcontact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    If you can’t reset them via the above instructions (you won't be able to add a rescue email address until you can answer your questions) then you will need to contact iTunes Support / Apple in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • Need assistance with my Porsche Design LaCie Time Capsule... It is not operating at all.. I have ran the diagnostic via the Disk Utility and under the error reading it runs the repair and then says it not about to repair what do I do... Thanks

    Need assistance with my Porsche Design LaCie Time Capsule... It is not operating at all.. I have ran the diagnostic via the Disk Utility and under the error reading it runs the repair and then says it not about to repair what do I do... Thanks

    LaCie doesnt make ANYTHING.  It contains a Seagate 3.5" 5400RPM HD.
    Check the HD on another computer, if nothing, your SATA bridge is fried, or the HD (very unlikely since its a Seagate inside)
    Youd have to crack open the HD, remove the SATA bridge cart thats plugged into the HD and put the HD into an enclosure or a HD dock to get the data
    those external HD use a 50 cent SATA bridge famous for failing.  The curse of all the good HD externals is the junk 3rd party SATA bridges attached to them that crash and burn.
    Sata bridge:

  • I need assistance with uploading pictures from mobile connection to computer

    I need assistance with uploading pictures from my mobile to my computer

    I need assistance with uploading pictures from my mobile to my computer

  • I need assistance with changing language from German to English

    I need assistance with changing language from German to English. Unable to uninstall product from control panel.

    What exactly means "unable"?
    Since you mention Control Panel, I assume that you are on Windows.  Try using http://labs.adobe.com/downloads/acrobatcleaner.html

  • Need help with trim and null function

    Hi all,
    I need help with a query. I use the trim function to get the first three characters of a string. How do I write my query so if a null value occurs in combination with my trim to say 'Null' in my results?
    Thanks

    Hi,
    Thanks for the reply. What am I doing wrong?
    SELECT trim(SUBSTR(AL1.user_data_text,1,3)),NVL
    (AL1.user_data_text,'XX')
    FROM Table
    I want the XX to appear in the same column as the
    trim.The main thing you're doing wrong is not formatting your code. The solution may become obvious if you do.
    What you're saying is:
    SELECT  trim ( SUBSTR (AL1.user_data_text, 1, 3))
    ,       NVL ( AL1.user_data_text, 'XX' )
    FROM    Tablewhich makes it clear that you're SELECTing two columns, when you only want to have one.
    If you want that column to be exactly like the first column you're currently SELECTing, except that when that column is NULL you want it to be 'XX', then you have to apply NVL to that column, like this:
    SELECT  NVL ( trim ( SUBSTR (AL1.user_data_text, 1, 3))
                , 'XX'
    FROM    Table

  • Need assistance with multiple issues with several G5's

    Hello All,
    I need to get some assistance with some issues that I am having with several G5 Dual’s
    I just started a new position and I have 4-G5 Dual’s that are in various states of disrepair. Normally I would call Apple support but they did not purchase the extended AppleCare packages for any of the G5’s theu purchased and they are ALL over a year old now. Any suggestions would be greatly appreciated.
    G5 number 1 - Has its fans running at full output all the time. Could this be a firmware issue?
    G5 number 2 – Had it’s logic board replaced by one of our company computer techs and now at start up gives a long tone then boots to white screen with a command prompt. Requiring me to either type “mac-boot” or “shutdown”. If I continue the boot process the machine just goes to a gray screen and stalls. I researched this yesterday and tried several solutions I found here but to no avail. Seems to me that past of the issue is that it is stuck looking for a firmware upgrade. How do I get past it?
    G5 number 3 – Mac seems to boot correctly but when you click on the Apple icon in the upper left hand corner the Finder blinks out and then comes back. It does this every time we try to go to the Apple menu. We removed the original hard drive and installed in a known good drive, our tech drive with a G5 image, rebooted the mac and the same issue occurs with the Finder.
    G5 number 4 – This unit boots to black screen with a Unix command prompt displaying “root#”. Any thoughts.
    Thanks
    Paul
    G5 Dual   Mac OS X (10.3.9)  
    G5 Dual   Mac OS X (10.3.9)  

    Apparantly someone not certified to repair them messed them up.
    Tell bossman it would be in his best interest for you to take them to a authorized Apple Repair and get it done with.
    Tell him that Mac's rarley screw up hardware wise and there really hasn't been a great demand for skilled repair techs outside of Apple.
    If your worried about your job, tell him you can take care of the software, training, minor hardware and networking end of the matter. Which, luckily for you, are longtern and ongoing needs. You can tell him that.
    There's nothing wrong in admitting you don't know how to do something and keeping your job, than to be unable to fix them and lose your job.

  • Need Assistance With Custom Calculation Script

    I need help with a custom calculation script in Acrobat Pro.  I am trying to add the sum of fields A, B, C, D, E, F, and G together with the lesser value of fields H and I.  What would be the script to enter for this result?  Thank you.

    event.value = Number(this.getField("A").value) + Number(this.getField("B").value) + Number(this.getField("C").value) + Number(this.getField("D").value) + Number(this.getField("E").value) + Number(this.getField("F").value) + Number(this.getField("G").value) + Math.min(Number(this.getField("H").value), Number(this.getField("I").value));

  • Need Assistance with Plugin

    I am trying to acess my Nascar trackpass. I keep getting an error message that my flashplayer plug in keeps crashing. What Can I do?

    Hi Kaysel_GTG,
    Just addition. Regarding to Bug Check 0xFC, please refer to following article and check if can help you.
    Bug Check 0xFC: ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY
    By the way, since it is not effective for us to debug the crash dump file here in the forum. If this issues is a state of emergency for you. Please contact Microsoft Customer
    Service and Support (CSS) via telephone so that a dedicated Support Professional can assist with your request.
    To obtain the phone numbers for specific technology request, please refer to the web site listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
    if any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Need assistance with Flashing Question Mark

    I recently bought a used MacBook Pro. The computer is in excellent shape, and nothing physically wrong with the computer at all. The MBP came with OSX already installed and running, and also had Boot Camp and Windows XP running on it as well. Since I purchased it used, the previous owner did not have the restore disks.
    Before I knew I was able to order a copy of the disks from Apple, I attempted to use my friends restore disks from his MBP. I first received an error, that the Software was not designed for this computer. He has a newer model, so I ended up using the disk utility to perform a clean up on the computer. I Zero'ed out the HDD, single pass, and deleted and recreated the partition on the HDD. Since this is the first MAC I have owned (previously sold, and worked on Macs), I did not know that MACs required 2 partitions on the HDD for everyday use. 1 Partition being installation, and the other being the OS. Well when using Disk Utility, I created only 1 large partition (previous Windows tech).
    Since then I am unable to boot into any disks. I also purchased Tiger v10.4 and I am unable to boot to the DVDs. I verified I am using the Installation Disk 1, and all I get is the flashing ? folder icon. I reset the PRAM, tried to boot to several other disks and flash drives, with no luck. I was able to boot into Suse DVD and complete an install, but failed on the boot loader, due to partition issue. I even have Tech Tools disk, which is supposed to be bootable, but will not boot.
    Currently I am working on a clean single partition drive, and no where to go. I have contacted Apple to order new disks, but I still want to try and get this running ASAP as this is my primary computer since I got rid of my PC.
    Any ideas or steps I can take to get this HDD partitioned properly and/or booting to a DVD/CD?????

    Sorry for your troubles, but there's really nothing you can do without the proper Install DVDs. Install DVDs for Intel-based Macs are machine- and build-specific (i.e. MacBook DVDs won't work on MBPs, Core2Duo MBP discs won't work for CoreDuo MBPs, and the retail Tiger install DVDs that you bought are only for PPC-based machines, not Intel.)
    FYI, you only need one partition, not two. Not sure where you got that information, but it's wrong.
    So, your only option at this point is to wait for those replacement discs. Once they arrive, boot from the Install DVD 1, select your language, and when the menu bar comes up choose Utilities > Disk Utility, erase your drive, single partition is fine, then proceed to the installation.
    Chalk this one up to experience - insist on getting the original system discs next time
    FYI, once Loepard comes out, those discs will be 'universal' (i.e. for all Intel and PPC-based Macs).
    Hope this helps...

  • Need assistance with Captivate 7 Action - Open URL/File

    Hi folks,
    I am developing a Captivate application that will be published as an executable.  It contains one slide, containing a number of buttons that will perform various operation.
    My issue is with the Open URL or File option.  I need one of my buttons to launch a small telnet app.  It currently exists on my desktop.  When I browse to find that file, it opens Firefox, and wants to download the file again.
    I need an action that will open the app, not a a web browser.
    Can this be done?
    Thanks in advance
    Steve

    Jim,
    You did it!  It worked.
    I thought about the onLoad function in the new browser, but I couldn't control the menu bar, tool bar etc. without re-directing the user to yet another window.

  • Need help with usage of static functions

    Hi,
    I tried instantiating objects within static functions as follows: It gives error:
    If someone can explain an alternate way of doing things, I would appreciate:
    public class C {
    * @param args
    public static void main(String[] args) {
    Y.Fn1();
    public class X {
    public void Fn2(){
    int b=2;
    System.out.println("hello");
    public class Y {
    public static void Fn1()
    int a=2;
    X obj = new X();
    obj.Fn2();
    The actual error is:
    Cannot make a static referencxe to the nonstatic method Fn2() from the type X Y.java
    Need Help : If someone can comment on the following, I would appreciate:
    I have a class Session, which has a method ProcessEvent()
    public class Session{
    public synchronized void processEvent(Event e)
    // Processing of the event
    // Generate a response for the Event
    This Session class is the mainstream code..
    Now I want to write a TestClass that will test the main code.
    So I have a Test class as below:
    public class Test {
    public static void sendReq()
    // Construct an event and call processEvent Function from the main code
    Event ev = new Event();
    // Fill the event with parameters
    Session sess = new Session();
    sess.processEvent(ev);
    What I am thinking of doing is: Call the static method in another class called Manager of the mainstream code for test purpose as follows:
    public class Manager {
    public void somefunction()
    //*** Just for test purpose: do the following line **//
    Test.sendReq();
    I am not sure what I am trying to do will work. I would appreciate if you can comment on that or suggest something that would work for me.
    Another thing which I want to do is:
    Inside ProcessEvent(), I want to call another static method ParseandValidateResponse() of the TestClass This looks odd, but as long as it works, it would be fine for me because this is only for test purpose.
    In this case, I would write,
    public class Session{
    public synchronized void processEvent(Event e)
    // Processing of the event
    // Generate a response for the Event
    Test.parseandValidateResponse(Response res);
    public class Test {
    public static void sendReq()
    // AS SHOWN PREVIOUSLY
    public static void parseandValidateResponse(Response resp)
    // validate the response
    }

    Sorry I thought no one had replied. When I posted here, I missed seeing yr reply. Later just now I saw yr reply It was in the second Page
    (Earlier I was looking only in first page by mistake)
    Meena

  • Dim Whit needs assistance with White Spot

    I am using PSE 9 and a Mac.  I am a new learner to photography and Photoshop.  Although I have read, studied, and worked with tutorials, I am having great difficulty in having success with editing some pictures I took for my niece.  She is getting married and does not have money for a photographer, so she ask me to take some photos.  I have been unable to succefully use the clone stamp to fix the sun spot in the middle of the couple.  Maybe I am going about it the wrong way, could someone please help me walk through how to fix this photo, then "I" can fix the rest of the photos that also have this problem.  I would appreciate your assistance greatly, and I know my Niece will also. 

    It’s a difficult situation caused by camera lens flare by taking the photo against the light rather than keeping the sun behind you.
    I think all you can do I to use the dodge and burn tools. Firstly the burn tool by repeatedly clicking with the mouse to gradually darken some of the areas within the spotlight. You may need to then select the dodge tool to lighten any areas such as skin which may become too dark.
    These tools are nested with the sponge tool and if you keep pressing the O key you can toggle through them.
    Alternatively use one of the filters to add more lens flare turning a mistake into a feature of sparkle!

  • Need assistance with buttons pulling in different MC's

    Hi I would like to have a screen with multiple buttons and
    when the button is clicked different MC's will be imprted into the
    .fla file. For instance button 1 will import 1_MC, button 2, 2_MC,
    button 3, 3_MC etc.
    Can someone point me to a tutorial or give me a down and
    dirty example using AS3?

    You don't need to make the buttons as movieclips, but you
    could if you had a reason for it. Like if you wanted to load the
    images into the buttons themselves... then you'd need them to be
    movieclips. You can use the same code for the event listeners for
    movieclips as you would for buttons...
    myButton1.addEventListener(MouseEvent.CLICK, addMovie1);
    But you don't add this code to the buttons (like you used to
    be able to sort of do in AS2)... it sits in the actions layer you
    create in the timeline where most of your code goes. As long as
    your button in in the same timeline and has the same instance name
    assigned to it as the code (ex. myButton1 above), the code will
    play for the button.
    You can position instances using AS by setting their x and y
    coordinates, even before they appear. You can pretty much set any
    property before you add it to the stage....
    function addMovie1(e:MouseEvent):void
    var myMovie1:Movie1 = new Movie1();
    myMovie2.x = ...
    myMovie2.y =...
    myMovie1.name = ...
    myMovie1.alpha = ...
    etc...
    mcContainer1.addChild(myMovie1);
    I think I've handled all of your questions with the snippets
    I just provided, so give it a go. Tutorials are handy, but you're
    doing the right thing if you find yourself struggling to figure
    stuff out without them... it's a better learning process... it
    tends to burn in better and last longer from having to solve
    it.

Maybe you are looking for

  • ASA 5505 how to create a port forwarding rule

    ASA 5505 IOS ver 9.2.3 I need to create a firewall rule that will allow internal services to be accessed externally, but using port forwarding. For example I'd like to enable access to our NAS via ftp external on port 1545 and then have the ASA forwa

  • Dreamweaver as custom editor for other file extensions

    So, I'm working on a project that requires me to work on some files with non-standard extensions. Namely, I have some text files that have a .cm extension, and I have some code files which have no extension at all. I am connecting to my file store vi

  • Query Statement

    I want to search for a keyword in all the columns of my database. So please help me for a query to execute like: statement.executeQuery("select * from BOOKS where Title like '%"+Criteria+"%'");Instead of only title i want to search in all the fields.

  • How can you tell the difference between ipad 2 and ipad 3 ?

    I need to know how can you tell the defferance between the Ipad 2 and Ipad 3 by just looking at it ?

  • Creating new business area from external database over dblink

    Hi all, I have the following configuration, ORCL - Database containing the EUL The EUL owner is BI_ADMIN. ADG - Database containing the objects and data There is a database link from ORCL to ADG using the username BI_ADMIN. Steps to recreate problem