Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2016, 03:34 PM
Master_L Master_L is offline I need help with a formula Windows 10 I need help with a formula Office 2016
Novice
I need help with a formula
 
Join Date: Dec 2016
Posts: 2
Master_L is on a distinguished road
Unhappy I need help with a formula

Hi, i would like to know if have a formula or something who can do that.
Example:




A B C D

300 1 300 1
302 2 310 4
305 5 320 9
310 4 330 -
315 8 340 -
320 9 350 -

compare the value of A with C and if was the same, copy the value of B in D. I can do for same lines equals whit "IF" but when are different lines i can't.

Tanks and sorry about my english, but im desperate... i try some sites with examples and nothing works.
Reply With Quote
  #2  
Old 12-01-2016, 04:28 PM
joeu2004 joeu2004 is offline I need help with a formula Windows 7 32bit I need help with a formula Office 2007
Advanced Beginner
 
Join Date: Aug 2016
Posts: 32
joeu2004 is on a distinguished road
Default

In column D:

=IFERROR(VLOOKUP(C1,$A$1:$B$6,2,0),"-")

However, you cannot duplicate the format (black 2 v. red 4) unless you hand-code the Conditional Format.
Reply With Quote
  #3  
Old 12-01-2016, 06:06 PM
Master_L Master_L is offline I need help with a formula Windows 10 I need help with a formula Office 2016
Novice
I need help with a formula
 
Join Date: Dec 2016
Posts: 2
Master_L is on a distinguished road
Default

THANK YOU joeu2004!!!
its works with VLOOKUP (PROCV in Portuguese/BR) without IFERROR.
Reply With Quote
Reply

Tags
formula, formula help, helpme



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help with a formula Possible to use an existing vlookup formula to also insert correct info and trigger a SUM formula innkeeper9 Excel 2 09-13-2016 08:59 PM
Need help with dragging a formula and changing a reference column as I drag the formula. LupeB Excel 1 10-22-2015 03:02 PM
help with a formula srockwell25 Excel 4 08-22-2014 02:47 AM
Formula help furface00 Excel 10 02-26-2012 05:34 AM
Formula Help - Look and if and that Corca Excel 2 02-05-2012 09:18 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft