Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2024, 12:26 AM
daOlli daOlli is offline How to use a Field as part of a Formula Windows 10 How to use a Field as part of a Formula Office 2021
Novice
How to use a Field as part of a Formula
 
Join Date: Jan 2024
Posts: 4
daOlli is on a distinguished road
Default How to use a Field as part of a Formula

Hi Everyone,




i hope someone can help me. I would like to replace "4:4" with "F159:F159" in my formula:


F159 = "=VERGLEICH(A159;Tabelle2!B:B;0)" = 4


=WENNNV(INDEX(Tabelle2!4:4;VERGLEICH(B159;Tabelle2!$2:$2);D160)


kind regards
Oliver
Reply With Quote
  #2  
Old 01-26-2024, 02:04 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How to use a Field as part of a Formula Windows 10 How to use a Field as part of a Formula Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

High and welcome
F159:F159 is one cell only? What are you trying to do?
( BTW using entire column/row references is not good practice)
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 01-26-2024, 02:08 AM
daOlli daOlli is offline How to use a Field as part of a Formula Windows 10 How to use a Field as part of a Formula Office 2021
Novice
How to use a Field as part of a Formula
 
Join Date: Jan 2024
Posts: 4
daOlli is on a distinguished road
Default

i attached the File - maybe that makes it clearer what i would like to achieve

As soon as the country in Colums A changes i have to reference to a different Numer.

everything that is green ist OK, but the Red ones are wrong
Attached Files
File Type: xlsx Sample.xlsx (184.7 KB, 3 views)
Reply With Quote
  #4  
Old 01-26-2024, 02:24 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How to use a Field as part of a Formula Windows 10 How to use a Field as part of a Formula Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Sheet is protected...
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #5  
Old 01-26-2024, 02:38 AM
daOlli daOlli is offline How to use a Field as part of a Formula Windows 10 How to use a Field as part of a Formula Office 2021
Novice
How to use a Field as part of a Formula
 
Join Date: Jan 2024
Posts: 4
daOlli is on a distinguished road
Default

reuploaded
Attached Files
File Type: xlsx Sample.xlsx (184.6 KB, 5 views)
Reply With Quote
  #6  
Old 01-26-2024, 08:11 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How to use a Field as part of a Formula Windows 10 How to use a Field as part of a Formula Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Attached is what I came up with (pull down as needed)
Attached Files
File Type: xlsx Sample(6).xlsx (179.5 KB, 5 views)
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #7  
Old 01-26-2024, 09:39 AM
p45cal's Avatar
p45cal p45cal is offline How to use a Field as part of a Formula Windows 10 How to use a Field as part of a Formula Office 2021
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

If I've properly understood what your looking to do, in D2, try:
Code:
=INDEX(Tabelle2!$C$3:$BE$27,MATCH(A2,Tabelle2!$B$3:$B$27),IFERROR(MATCH(B2,Tabelle2!$C$2:$BE$2),1))
copied down.
For the non-english version , open the attached.
Attached Files
File Type: xlsx msofficeforums51963Sample.xlsx (163.9 KB, 3 views)
Reply With Quote
  #8  
Old 01-29-2024, 12:18 AM
daOlli daOlli is offline How to use a Field as part of a Formula Windows 10 How to use a Field as part of a Formula Office 2021
Novice
How to use a Field as part of a Formula
 
Join Date: Jan 2024
Posts: 4
daOlli is on a distinguished road
Default Solved

Thank you both @Pecoflyer and @p45cal !

Both solution seem to work for now i only need to figure out how it works.

THANK YOU !!!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use a Field as part of a Formula VBA insert quick part formula and format as percentage jeffreybrown Word 3 03-12-2021 02:52 PM
Formula needed. If I write a specific name then I want the corresponding part number to fill kmurph Excel 1 11-28-2018 12:02 AM
How to use a Field as part of a Formula Quick part building blocks - Formula lukegwilson96 Word 6 12-13-2016 10:46 AM
How to use a Field as part of a Formula How do you remove part of a formula Macer Excel Programming 2 09-24-2015 11:08 AM
Formula to subtract one month from due date field in reminder field ghumdinger Outlook 1 10-01-2011 12:09 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:09 AM.


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